DeviceSession class
Protobuf message describing the device message, used from several RPCs.
Constructors
-
DeviceSession({String? activeStartTime, AndroidDevice? androidDevice, String? createTime, String? displayName, String? expireTime, String? inactivityTimeout, String? name, String? state, List<
SessionStateEvent> ? stateHistories, String? ttl}) - DeviceSession.fromJson(Map json_)
Properties
- activeStartTime ↔ String?
-
The timestamp that the session first became ACTIVE.
getter/setter pair
- androidDevice ↔ AndroidDevice?
-
The requested device
getter/setter pair
- createTime ↔ String?
-
The time that the Session was created.
getter/setter pair
- displayName ↔ String?
-
The title of the DeviceSession to be presented in the UI.
getter/setter pair
- expireTime ↔ String?
-
If the device is still in use at this time, any connections will be ended
and the SessionState will transition from ACTIVE to FINISHED.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- inactivityTimeout ↔ String?
-
The interval of time that this device must be interacted with before it
transitions from ACTIVE to TIMEOUT_INACTIVITY.
getter/setter pair
- name ↔ String?
-
Name of the DeviceSession, e.g.
"projects/{project_id}/deviceSessions/{session_id}"
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- state ↔ String?
-
Current state of the DeviceSession.
getter/setter pair
-
stateHistories
↔ List<
SessionStateEvent> ? -
The historical state transitions of the session_state message including
the current session state.
getter/setter pair
- ttl ↔ String?
-
The amount of time that a device will be initially allocated for.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited