Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
com.intel.realsense.camera.DetachedActivity Class Reference
Inheritance diagram for com.intel.realsense.camera.DetachedActivity:
Inheritance graph
[legend]

Public Member Functions

void onFwUpdateStatus (final boolean status)
 

Protected Member Functions

void onCreate (Bundle savedInstanceState)
 
void onResume ()
 

Private Member Functions

boolean compareFwVersion (String currFw, String otherFw)
 
synchronized void init ()
 
boolean isCameraPermissionGranted ()
 
boolean isWritePermissionGranted ()
 
void requestPermissionsIfNeeded ()
 
synchronized void validatedDevice ()
 
boolean validateFwVersion (Device device)
 

Private Attributes

Context mAppContext
 
boolean mDetached = false
 
DeviceListener mListener
 
Map< ProductLine, String > mMinimalFirmwares = new HashMap<>()
 
Button mPlaybackButton
 
RsContext mRsContext = new RsContext()
 
boolean mUpdating = false
 

Static Private Attributes

static final String MINIMAL_D400_FW_VERSION = "5.10.0.0"
 
static final int PLAYBACK_REQUEST_CODE = 1
 
static final String TAG = "librs camera detached"
 

Detailed Description

Definition at line 31 of file DetachedActivity.java.

Member Function Documentation

boolean com.intel.realsense.camera.DetachedActivity.compareFwVersion ( String  currFw,
String  otherFw 
)
inlineprivate

Definition at line 198 of file DetachedActivity.java.

synchronized void com.intel.realsense.camera.DetachedActivity.init ( )
inlineprivate

Definition at line 91 of file DetachedActivity.java.

boolean com.intel.realsense.camera.DetachedActivity.isCameraPermissionGranted ( )
inlineprivate

Definition at line 81 of file DetachedActivity.java.

boolean com.intel.realsense.camera.DetachedActivity.isWritePermissionGranted ( )
inlineprivate

Definition at line 87 of file DetachedActivity.java.

void com.intel.realsense.camera.DetachedActivity.onCreate ( Bundle  savedInstanceState)
inlineprotected

Definition at line 46 of file DetachedActivity.java.

void com.intel.realsense.camera.DetachedActivity.onFwUpdateStatus ( final boolean  status)
inline

Definition at line 211 of file DetachedActivity.java.

void com.intel.realsense.camera.DetachedActivity.onResume ( )
inlineprotected

Definition at line 71 of file DetachedActivity.java.

void com.intel.realsense.camera.DetachedActivity.requestPermissionsIfNeeded ( )
inlineprivate

Definition at line 57 of file DetachedActivity.java.

synchronized void com.intel.realsense.camera.DetachedActivity.validatedDevice ( )
inlineprivate

Definition at line 117 of file DetachedActivity.java.

boolean com.intel.realsense.camera.DetachedActivity.validateFwVersion ( Device  device)
inlineprivate

Definition at line 169 of file DetachedActivity.java.

Member Data Documentation

Context com.intel.realsense.camera.DetachedActivity.mAppContext
private

Definition at line 38 of file DetachedActivity.java.

boolean com.intel.realsense.camera.DetachedActivity.mDetached = false
private

Definition at line 43 of file DetachedActivity.java.

final String com.intel.realsense.camera.DetachedActivity.MINIMAL_D400_FW_VERSION = "5.10.0.0"
staticprivate

Definition at line 34 of file DetachedActivity.java.

DeviceListener com.intel.realsense.camera.DetachedActivity.mListener
private
Initial value:
= new DeviceListener() {
@Override
public void onDeviceAttach() {
}
@Override
public void onDeviceDetach() {
mDetached = true;
}
}

Definition at line 223 of file DetachedActivity.java.

Map<ProductLine,String> com.intel.realsense.camera.DetachedActivity.mMinimalFirmwares = new HashMap<>()
private

Definition at line 41 of file DetachedActivity.java.

Button com.intel.realsense.camera.DetachedActivity.mPlaybackButton
private

Definition at line 36 of file DetachedActivity.java.

RsContext com.intel.realsense.camera.DetachedActivity.mRsContext = new RsContext()
private

Definition at line 39 of file DetachedActivity.java.

boolean com.intel.realsense.camera.DetachedActivity.mUpdating = false
private

Definition at line 42 of file DetachedActivity.java.

final int com.intel.realsense.camera.DetachedActivity.PLAYBACK_REQUEST_CODE = 1
staticprivate

Definition at line 33 of file DetachedActivity.java.

final String com.intel.realsense.camera.DetachedActivity.TAG = "librs camera detached"
staticprivate

Definition at line 32 of file DetachedActivity.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