MaxstARSDK
com.maxst.ar.WearableDeviceController Class Referenceabstract
Inheritance diagram for com.maxst.ar.WearableDeviceController:
Inheritance graph
Collaboration diagram for com.maxst.ar.WearableDeviceController:
Collaboration graph

Public Member Functions

void startSensor ()
 
void stopSensor ()
 
boolean isAttachHeadSet ()
 
boolean isSupportedWearableDevice ()
 
String getModelName ()
 
void extendSurface (boolean toggle)
 
void extendWindow (boolean toggle)
 
void setStereoMode (boolean toggle)
 
boolean isSurfaceExtended ()
 
boolean isWindowExtended ()
 
boolean isStereoEnabled ()
 
boolean isSideBySideType ()
 

Static Public Member Functions

static WearableDeviceController createDeviceController (Context context)
 
static WearableDeviceController getInstance ()
 

Protected Attributes

Context mContext
 

Member Function Documentation

◆ createDeviceController()

static WearableDeviceController com.maxst.ar.WearableDeviceController.createDeviceController ( Context  context)
static

Create each device's controller

Returns
Instance of device controller
Here is the caller graph for this function:

◆ extendSurface()

void com.maxst.ar.WearableDeviceController.extendSurface ( boolean  toggle)

Extend SurfaceView (For ODG-R7)

Parameters
toggleTrue extend SurfaceView size, False restore SurfaceView size

◆ extendWindow()

void com.maxst.ar.WearableDeviceController.extendWindow ( boolean  toggle)

Extend Window (For ODG-R7)

Parameters
toggleTrue extend window size, Fals restore window size

◆ getInstance()

static WearableDeviceController com.maxst.ar.WearableDeviceController.getInstance ( )
static
Here is the call graph for this function:

◆ getModelName()

String com.maxst.ar.WearableDeviceController.getModelName ( )

Device model name (Same to Build.MODEL)

Returns
model name

◆ isAttachHeadSet()

boolean com.maxst.ar.WearableDeviceController.isAttachHeadSet ( )

◆ isSideBySideType()

boolean com.maxst.ar.WearableDeviceController.isSideBySideType ( )

◆ isStereoEnabled()

boolean com.maxst.ar.WearableDeviceController.isStereoEnabled ( )

◆ isSupportedWearableDevice()

boolean com.maxst.ar.WearableDeviceController.isSupportedWearableDevice ( )

◆ isSurfaceExtended()

boolean com.maxst.ar.WearableDeviceController.isSurfaceExtended ( )

◆ isWindowExtended()

boolean com.maxst.ar.WearableDeviceController.isWindowExtended ( )

◆ setStereoMode()

void com.maxst.ar.WearableDeviceController.setStereoMode ( boolean  toggle)

Toggle device's display mode

Parameters
toggleTrue 3d mode False 2d mode
Here is the call graph for this function:

◆ startSensor()

void com.maxst.ar.WearableDeviceController.startSensor ( )

◆ stopSensor()

void com.maxst.ar.WearableDeviceController.stopSensor ( )

Member Data Documentation

◆ mContext

Context com.maxst.ar.WearableDeviceController.mContext
protected

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