on_device Event
Fired for every dial device when the ListDevices method is called.
Syntax
class NetDialDeviceEventParams(object): @property def device_name() -> str: ... @property def device_type() -> str: ... # In class NetDial: @property def on_device() -> Callable[[NetDialDeviceEventParams], None]: ... @on_device.setter def on_device(event_hook: Callable[[NetDialDeviceEventParams], None]) -> None: ...
Remarks
DeviceName provides the name of the device, and DeviceType provides the corresponding device type (e.g. 'modem').