All
method | description |
---|---|
public static GsDevStateManager instance (); |
Return:GsDevStateManager instanceSupported Products:All |
public boolean isDeviceConnected (String devName); |
is device connected
Params:Return:true: connected, false: disconnectedSupported Products:All |
public boolean isUsbConnected (); |
Check whether USB is connect or not.
Return:true: connected, false: disconnectedSupported Products:ALL |
public int getDeviceState (String devName); |
Get the state of the device.
Params:Return:int The state of the device.Supported Products:ALL |
public void reboot (); |
reboot the device
Supported Products:All |
public String getDeviceMac (); |
get the device MAC
Return:String: the device MAC.Supported Products:All |
Member | description |
---|---|
public static final String NAME_EARPHONE |
3.5mm headset device
Supported Products:GXV3350, GXV3370, GXV3380 |
public static final String NAME_EHS |
EHS device
Supported Products:GXV3350, GXV3370, GXV3380 |
public static final String NAME_USB_HEADSET |
USB headset device
Supported Products:GXV3350, GXV3370, GXV3380 |
public static final String NAME_HDMI |
HDMI(out) device
Supported Products:GXV3350, GXV3370, GXV3380 |
public static final String NAME_HDMI_IN |
HDMI in device
Supported Products:GXV3350, GXV3370, GXV3380 |
public static final String NAME_SENSOR_MONITORING |
safe monitoring broadcast extra key
Supported Products:WP820 |
public static final String NAME_UAC |
uac connection state
Supported Products:GAC2570 |
public static final String SAFE_MONITORING_STATE_CHANGED_ACTION |
safe monitoring broadcast action
Supported Products:WP820 |
public static final String EXTRA_STATE |
|
public static final int SENSOR_MONITORING_TYPE_RUN |
safe monitoring type: run
Supported Products:WP820 |
public static final int SENSOR_MONITORING_TYPE_TILT |
safe monitoring type: tilt
Supported Products:WP820 |
public static final int SENSOR_MONITORING_TYPE_NOMOVE |
safe monitoring type: no move
Supported Products:WP820 |
public static final int SENSOR_MONITORING_TYPE_PANIC |
safe monitoring type: panic, trigger by manual click multifunctional key
Supported Products:WP820 |
public static final int STANDBY_MODE_ALWAYS_ON |
The standby mode "Always On". In this mode, device will never auto screen off.
Supported Products:All |
public static final int STANDBY_MODE_OCCUPANCY_BASED |
The standby mode "Occupancy Based". In this mode, device screen off timeout settings will take effect.
Refer to {@link #setScreenOffTimeout(int)}.
Supported Products:All |