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

Public Member Functions

void setActivity (Activity activity)
 
String getModelName ()
 
void extendSurface (boolean toggle)
 
void extendWindow (boolean toggle)
 
void setStereoMode (boolean toggle)
 
boolean isSurfaceExtended ()
 
boolean isWindowExtended ()
 
boolean isStereoEnabled ()
 
void deinit ()
 

Static Public Member Functions

static boolean isSupportedWearableDevice ()
 
static WearableDeviceController createDeviceController ()
 
static WearableDeviceController getInstance ()
 

Member Function Documentation

◆ createDeviceController()

static WearableDeviceController com.maxst.ar.wearable.WearableDeviceController.createDeviceController ( )
static

Create each device's controller

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

◆ deinit()

void com.maxst.ar.wearable.WearableDeviceController.deinit ( )

Release allocated resources

Here is the caller graph for this function:

◆ extendSurface()

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

Extend SurfaceView (For ODG-R7)

Parameters
toggleTrue extend SurfaceView size, False restore SurfaceView size

◆ extendWindow()

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

Extend Window (For ODG-R7)

Parameters
toggleTrue extend window size, Fals restore window size

◆ getInstance()

static WearableDeviceController com.maxst.ar.wearable.WearableDeviceController.getInstance ( )
static

Get each device's controller

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

◆ getModelName()

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

Device model name (Same to Build.MODEL)

Returns
model name

◆ isStereoEnabled()

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

◆ isSupportedWearableDevice()

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

Check if this android device is in our supported list

Returns
True supported device False not supported device

◆ isSurfaceExtended()

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

◆ isWindowExtended()

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

◆ setActivity()

void com.maxst.ar.wearable.WearableDeviceController.setActivity ( Activity  activity)

Set activity for ODG-R7

Parameters
activityActivity instance
Here is the caller graph for this function:

◆ setStereoMode()

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

Toggle device's display mode

Parameters
toggleTrue 3d mode False 2d mode

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