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
context
objectin The callback context.deviceId
intin Identifier of the device being selected or zero if unselected.
Returns
typedef DeviceSelectedCallback = int Function(Object context, int deviceId)
Parameters
context
Objectin The callback context.deviceId
intin Identifier of the device being selected or zero if unselected.
Returns
public delegate void _DeviceSelectedCallback(IntPtr context, int deviceId);
Parameters
context
IntPtrin The callback context.deviceId
intin Identifier of the device being selected or zero if unselected.
Returns
@FunctionalInterface
public interface DeviceSelectedCallback {
int callback(Object context, int deviceId)
}
Parameters
context
Objectin The callback context.deviceId
intin Identifier of the device being selected or zero if unselected.
Returns
typedef int (* id3DevicesDeviceSelectedCallback) (
void * context,
int deviceId)
Parameters
context
void *in The callback context.deviceId
intin Identifier of the device being selected or zero if unselected.
Returns