1 package com.intel.realsense.librealsense;
3 import java.util.ArrayList;
14 List<StreamProfile> rv =
new ArrayList<>();
15 for(
long h : streamProfilesHandles){
21 public <T extends Sensor>
T as(
Extension extension)
throws RuntimeException {
22 if (this.
is(extension)) {
27 default:
throw new RuntimeException(
"this API version does not support " + extension.name());
30 throw new RuntimeException(
"this sensor is not extendable to " + extension.name());
45 private static native
void nRelease(
long handle);
boolean is(Extension extension)
List< StreamProfile > getStreamProfiles()
GLuint64 GLenum void * handle
static native void nRelease(long handle)
GLfloat GLfloat GLfloat GLfloat h
static native long[] nGetStreamProfiles(long handle)
static native boolean nIsSensorExtendableTo(long handle, int extension)