_device_before_delete_

From Yombo
< docs‎ | hooks
Jump to: navigation, search
device_defore_delete
Hook name _device_before_delete_
Status Active
Hook source type Library
Stop on exception No
Commonly used No
Implemented by devices

Summary

Called before a device about to be delete from both the Yombo API and the system.

Details

Used to notify modules that a device is about to be deleted through the Yombo API as well as the local system. Any modules with pointers or data for this device should be removed.

KWargs

  • id - The device ID about to be deleted.
  • device - The device object about to be removed.

Expects

Not expecting any data returned.


This page was last edited on 9 December 2017.