Interface IPolySystemListener
com.poly.polyos.system
Interface IPolySystemListener
public interface
IPolySystemListener
Listener to get callbacks about system
Since:
3.0.11
Method Summary
Modifier and Type | Method and Description |
---|---|
void | onDeviceModeChanged(boolean enabled, boolean inDeviceMode) |
Called when the device mode feature enable mode changes or when the device mode session status changes | |
void | onDevicePluginChanged(DevicePluginState devicePluginState) |
Called when the plugin state of HDMI/USB changes | |
void | onSystemStateChanged(SystemState systemState) |
Called when SystemState changes |
Method Detail
onSystemStateChanged
void onSystemStateChanged(SystemState systemState)
Called when SystemState
changes
onDeviceModeChanged
void onDeviceModeChanged(boolean enabled,
boolean inDeviceMode)
Called when the device mode feature enable mode changes or when the device mode session status changes
Parameters:
enabled
- Whether device mode feature is enabled or disabled
inDeviceMode
- When feature is enabled, this will say whether system is currently in device mode session or not.
Since:
3.0.53
onDevicePluginChanged
void onDevicePluginChanged(DevicePluginState devicePluginState)
Called when the plugin state of HDMI/USB changes
Parameters:
devicePluginState
- The DevicePluginState
state.
Since:
3.3.0.0-8