PySpin.DeviceEventHandler¶ class DeviceEventHandler¶ A handler to device events. Deprecated Use GenApi::Register() and GenApi::Unregister() for handling device node callbacks instead. GetDeviceEventId(self) → uint64_t¶ Get the ID of the device event. The device event ID GetDeviceEventName(self) → gcstring¶ Get the name of the device event. The device event name OnDeviceEvent(self, eventName)¶ Parameters¶ eventName: Spinnaker::GenICam::gcstring Device event callback. param eventName: The name of the event