UpdateDevice.java
Go to the documentation of this file.
1 package com.intel.realsense.librealsense;
2 
3 public class UpdateDevice extends Device {
5  public void update(byte[] image){
6  update(image, null);
7  }
8 
9  public synchronized void update(byte[] image, ProgressListener listener){
10  mListener = listener;
11  nUpdateFirmware(mHandle, image);
12  }
13 
14  UpdateDevice(long handle){
15  super(handle);
16  mOwner = false;
17  }
18 
19  void onProgress(float progress){
20  mListener.onProgress(progress);
21  }
22 
23  private native void nUpdateFirmware(long handle, byte[] image);
24 }
native void nUpdateFirmware(long handle, byte[] image)
uvc_xu_option< int > super
Definition: l500-options.h:32
GLuint64 GLenum void * handle
Definition: glext.h:7785
synchronized void update(byte[] image, ProgressListener listener)
def progress(args)
Definition: log.py:43
GLenum GLenum GLsizei void * image
unsigned char byte
Definition: src/types.h:52


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