GetDeviceSessionResult class
Result data returned by getDeviceSession.
Constructors
-
GetDeviceSessionResult({required String activeStartTime, required AndroidDeviceResponse androidDevice, required String createTime, required String displayName, required String expireTime, required String inactivityTimeout, required String name, required String state, required List<
SessionStateEventResponse> stateHistories, required String ttl}) -
Creates a new GetDeviceSessionResult.
activeStartTimeThe timestamp that the session first became ACTIVE.androidDeviceThe requested devicecreateTimeThe time that the Session was created.displayNameThe title of the DeviceSession to be presented in the UI.expireTimeOptional. If the device is still in use at this time, any connections will be ended and the SessionState will transition from ACTIVE to FINISHED.inactivityTimeoutThe interval of time that this device must be interacted with before it transitions from ACTIVE to TIMEOUT_INACTIVITY.nameOptional. Name of the DeviceSession, e.g. "projects/{project_id}/deviceSessions/{session_id}"stateCurrent state of the DeviceSession.stateHistoriesThe historical state transitions of the session_state message including the current session state.ttlOptional. The amount of time that a device will be initially allocated for. This can eventually be extended with the UpdateDeviceSession RPC. Default: 30 minutes.const -
GetDeviceSessionResult.fromMap(Map<
String, dynamic> map) -
factory
Properties
- activeStartTime → String
-
The timestamp that the session first became ACTIVE.
final
- androidDevice → AndroidDeviceResponse
-
The requested device
final
- createTime → String
-
The time that the Session was created.
final
- displayName → String
-
The title of the DeviceSession to be presented in the UI.
final
- expireTime → String
-
Optional. If the device is still in use at this time, any connections will be ended and the SessionState will transition from ACTIVE to FINISHED.
final
- 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.
final
- name → String
-
Optional. Name of the DeviceSession, e.g. "projects/{project_id}/deviceSessions/{session_id}"
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- state → String
-
Current state of the DeviceSession.
final
-
stateHistories
→ List<
SessionStateEventResponse> -
The historical state transitions of the session_state message including the current session state.
final
- ttl → String
-
Optional. The amount of time that a device will be initially allocated for. This can eventually be extended with the UpdateDeviceSession RPC. Default: 30 minutes.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited