DeviceSelectedCallback Callback¶
Definition¶
Defines a callback for when a device is selected or unselected within a channel.
device_selected_callback(context: object, device_id: int) -> int
Parameters
contextobjectin The callback context.deviceIdintin Identifier of the device being selected or zero if unselected.
Returns
typedef DeviceSelectedCallback = int Function(Object context, int deviceId)
Parameters
contextObjectin The callback context.deviceIdintin Identifier of the device being selected or zero if unselected.
Returns
public delegate void _DeviceSelectedCallback(IntPtr context, int deviceId);
Parameters
contextIntPtrin The callback context.deviceIdintin Identifier of the device being selected or zero if unselected.
Returns
@FunctionalInterface
public interface DeviceSelectedCallback {
    int callback(Object context, int deviceId)
}
Parameters
contextObjectin The callback context.deviceIdintin Identifier of the device being selected or zero if unselected.
Returns
typedef int (* id3DevicesDeviceSelectedCallback) (
    void * context,
    int deviceId)
Parameters
contextvoid *in The callback context.deviceIdintin Identifier of the device being selected or zero if unselected.
Returns