MaxstAR Native Android  5.0.2
List of all members | Public Member Functions | Static Public Member Functions | Public Attributes
com.maxst.ar.ResultCode Enum Reference

Description

ResultCode enumerator related to camera and tracker.

Public Member Functions

int getValue ()
 Get the code value of ResultCode. More...
 

Static Public Member Functions

static ResultCode getCodeFromInt (int value)
 Get ResultCode corresponding the code value. More...
 

Public Attributes

 Success =(0)
 
 CameraPermissionIsNotResolved =(100)
 
 CameraDeviceRestricted =(101)
 
 CameraPermissionIsNotGranted =(102)
 
 CameraAlreadyOpened =(103)
 
 CameraAccessException =(104)
 
 CameraNotExist =(105)
 
 CameraOpenTimeOut =(106)
 
 FlashLightUnsupported =(107)
 
 TrackerAlreadyStarted =(200)
 
 UnknownError =(1000)
 

Member Function Documentation

◆ getCodeFromInt()

static ResultCode com.maxst.ar.ResultCode.getCodeFromInt ( int  value)
static

Get ResultCode corresponding the code value.

Returns
ResultCode corresponding the code value

◆ getValue()

int com.maxst.ar.ResultCode.getValue ( )

Get the code value of ResultCode.

Returns
the code value as integer

Member Data Documentation

◆ CameraAccessException

com.maxst.ar.ResultCode.CameraAccessException =(104)

◆ CameraAlreadyOpened

com.maxst.ar.ResultCode.CameraAlreadyOpened =(103)

◆ CameraDeviceRestricted

com.maxst.ar.ResultCode.CameraDeviceRestricted =(101)

◆ CameraNotExist

com.maxst.ar.ResultCode.CameraNotExist =(105)

◆ CameraOpenTimeOut

com.maxst.ar.ResultCode.CameraOpenTimeOut =(106)

◆ CameraPermissionIsNotGranted

com.maxst.ar.ResultCode.CameraPermissionIsNotGranted =(102)

◆ CameraPermissionIsNotResolved

com.maxst.ar.ResultCode.CameraPermissionIsNotResolved =(100)

◆ FlashLightUnsupported

com.maxst.ar.ResultCode.FlashLightUnsupported =(107)

◆ Success

com.maxst.ar.ResultCode.Success =(0)

◆ TrackerAlreadyStarted

com.maxst.ar.ResultCode.TrackerAlreadyStarted =(200)

◆ UnknownError

com.maxst.ar.ResultCode.UnknownError =(1000)