Go to the source code of this file.
◆ Java_com_meta_ocean_system_usb_android_OceanUSBManager_initialize()
bool Java_com_meta_ocean_system_usb_android_OceanUSBManager_initialize |
( |
JNIEnv * |
env, |
|
|
jobject |
javaThis |
|
) |
| |
Native interface function to initialize the manager, this function should be called from the main thread.
- Parameters
-
env | Native interface environment, must be valid |
javaThis | JNI object, must be valid |
- Returns
- True, if succeeded
◆ Java_com_meta_ocean_system_usb_android_OceanUSBManager_onDevicePermission()
void Java_com_meta_ocean_system_usb_android_OceanUSBManager_onDevicePermission |
( |
JNIEnv * |
env, |
|
|
jobject |
javaThis, |
|
|
jstring |
deviceName, |
|
|
jboolean |
granted |
|
) |
| |
Native interface function for device permission events.
- Parameters
-
env | Native interface environment, must be valid |
javaThis | JNI object, must be valid |
deviceName | The name of the device, must be valid |
granted | True, if the permission was granted; False, if the permission was denied |