7 #include "../../../include/librealsense2/rs.h" 9 extern "C" JNIEXPORT jint JNICALL
18 extern "C" JNIEXPORT jlong JNICALL
27 extern "C" JNIEXPORT jboolean JNICALL
29 jlong
handle, jlong deviceHandle) {
32 reinterpret_cast<const rs2_device *>(deviceHandle), &e);
37 extern "C" JNIEXPORT
void JNICALL
int rs2_device_list_contains(const rs2_device_list *info_list, const rs2_device *device, rs2_error **error)
JNIEXPORT jlong JNICALL Java_com_intel_realsense_librealsense_DeviceList_nCreateDevice(JNIEnv *env, jclass type, jlong handle, jint index)
GLuint64 GLenum void * handle
rs2_device * rs2_create_device(const rs2_device_list *info_list, int index, rs2_error **error)
void handle_error(JNIEnv *env, rs2_error *error)
JNIEXPORT jboolean JNICALL Java_com_intel_realsense_librealsense_DeviceList_nContainsDevice(JNIEnv *env, jclass type, jlong handle, jlong deviceHandle)
JNIEXPORT void JNICALL Java_com_intel_realsense_librealsense_DeviceList_nRelease(JNIEnv *env, jclass type, jlong handle)
void rs2_delete_device_list(rs2_device_list *info_list)
int rs2_get_device_count(const rs2_device_list *info_list, rs2_error **error)
JNIEXPORT jint JNICALL Java_com_intel_realsense_librealsense_DeviceList_nGetDeviceCount(JNIEnv *env, jclass type, jlong handle)