public static interface OpenNIHelper.DeviceOpenListener
OpenNIHelper.requestDeviceOpen(String uri, DeviceOpenListener listener)
.Modifier and Type | Method and Description |
---|---|
void |
onDeviceOpened(Device device)
Called when permission to access the device is granted.
|
void |
onDeviceOpenFailed(java.lang.String uri)
Called when permission is access the device is denied.
|
void onDeviceOpened(Device device)
device
- The device for which permission was granted.void onDeviceOpenFailed(java.lang.String uri)
uri
- The device for which permission was denied.