Device State
abstract class DeviceState
Content copied to clipboard
Device state information.
Types
Connection State
Link copied to clipboard
enum ConnectionState
Content copied to clipboard
Connection state.
Connection State Cause
Link copied to clipboard
enum ConnectionStateCause
Content copied to clipboard
Reason why the device is in the current state.
Functions
can Be Connected
Link copied to clipboard
Tells whether the device can be connected.
can Be Disconnected
Link copied to clipboard
Tells whether the device can be disconnected.
can Be Forgotten
Link copied to clipboard
Tells whether the device can be forgotten.
get Active Connector
Link copied to clipboard
Gets the currently active connector.
get Connection State
Link copied to clipboard
Gets the device connection state.
get Connection State Cause
Link copied to clipboard
Gets the reason why device is in the current state.
get Connectors
Link copied to clipboard
Gets the list of available connectors for this device.
get Shutdown Delay
Link copied to clipboard
Gets the delay before the device shuts down, in milliseconds.