MaxstARSDK  4.1.x
All Classes Namespaces Files Functions Variables
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

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 (Activity activity)
 

Protected Attributes

Activity activity
 

Member Function Documentation

◆ createDeviceController()

static WearableDeviceController com.maxst.ar.WearableDeviceController.createDeviceController ( Activity  activity)
static

Create each device's controller

Returns
Instance of device controller

◆ 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

◆ getModelName()

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

Device model name (Same to Build.MODEL)

Returns
model name

◆ 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:

Member Data Documentation

◆ activity

Activity com.maxst.ar.WearableDeviceController.activity
protected

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