Static Public Member Functions | Static Public Attributes | Static Private Member Functions | Static Private Attributes | List of all members
com.intel.realsense.librealsense.UsbUtilities Class Reference

Static Public Member Functions

static void grantUsbPermissionIfNeeded (Context context)
 
static boolean isIntel (UsbDevice usbDevice)
 

Static Public Attributes

static final String ACTION_USB_PERMISSION = "USB_CONTROL_PERMISSION"
 

Static Private Member Functions

static List< UsbDevice > getDevices (Context context)
 
static List< UsbDevice > getUsbDevices (Context context, Integer vId)
 
static List< UsbDevice > getUsbDevices (Context context, Integer vId, Integer pId)
 
static void grantUsbPermissions (Context context, UsbDevice usbDevice)
 
static boolean hasUsbPermission (Context context, UsbDevice usbDevice)
 

Static Private Attributes

static final String TAG = "librs UsbUtilities"
 

Detailed Description

Definition at line 16 of file UsbUtilities.java.

Member Function Documentation

static List<UsbDevice> com.intel.realsense.librealsense.UsbUtilities.getDevices ( Context  context)
inlinestaticprivate

Definition at line 76 of file UsbUtilities.java.

static List<UsbDevice> com.intel.realsense.librealsense.UsbUtilities.getUsbDevices ( Context  context,
Integer  vId 
)
inlinestaticprivate

Definition at line 26 of file UsbUtilities.java.

static List<UsbDevice> com.intel.realsense.librealsense.UsbUtilities.getUsbDevices ( Context  context,
Integer  vId,
Integer  pId 
)
inlinestaticprivate

Definition at line 30 of file UsbUtilities.java.

static void com.intel.realsense.librealsense.UsbUtilities.grantUsbPermissionIfNeeded ( Context  context)
inlinestatic

Definition at line 80 of file UsbUtilities.java.

static void com.intel.realsense.librealsense.UsbUtilities.grantUsbPermissions ( Context  context,
UsbDevice  usbDevice 
)
inlinestaticprivate

Definition at line 58 of file UsbUtilities.java.

static boolean com.intel.realsense.librealsense.UsbUtilities.hasUsbPermission ( Context  context,
UsbDevice  usbDevice 
)
inlinestaticprivate

Definition at line 46 of file UsbUtilities.java.

static boolean com.intel.realsense.librealsense.UsbUtilities.isIntel ( UsbDevice  usbDevice)
inlinestatic

Definition at line 20 of file UsbUtilities.java.

Member Data Documentation

final String com.intel.realsense.librealsense.UsbUtilities.ACTION_USB_PERMISSION = "USB_CONTROL_PERMISSION"
static

Definition at line 18 of file UsbUtilities.java.

final String com.intel.realsense.librealsense.UsbUtilities.TAG = "librs UsbUtilities"
staticprivate

Definition at line 17 of file UsbUtilities.java.


The documentation for this class was generated from the following file:


librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:50:36