DeviceManager.deviceAddedCallback Property

Module: DeviceManager

Type: PlugAndPlayCallback

Definition

Callback for when a new device is added to the system.

device_added_callback: PlugAndPlayCallback

Exceptions

An error has occurred during Devices Library execution.
set deviceAddedCallback(PlugAndPlayCallback value) => setDeviceAddedCallback(value);

Exceptions

An error has occurred during Devices Library execution.
public PlugAndPlayCallback deviceAddedCallback
{
    set => SetdeviceAddedCallback(ref value);
}

Exceptions

An error has occurred during Devices Library execution.
public static void setDeviceAddedCallback(PlugAndPlayCallback deviceAddedCallback) throws DevicesException

Exceptions

An error has occurred during Devices Library execution.
int id3DevicesDeviceManager_SetDeviceAddedCallback (id3DevicesPlugAndPlayCallback deviceAddedCallback, void * context)

Returns

int
An error code.
See id3DevicesError file for the list of possible error codes.