GetDeviceSessionResult constructor
- 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.
activeStartTime The timestamp that the session first became ACTIVE.
androidDevice The requested device
createTime The time that the Session was created.
displayName The title of the DeviceSession to be presented in the UI.
expireTime 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.
inactivityTimeout The interval of time that this device must be interacted with before it transitions from ACTIVE to TIMEOUT_INACTIVITY.
name Optional. Name of the DeviceSession, e.g. "projects/{project_id}/deviceSessions/{session_id}"
state Current state of the DeviceSession.
stateHistories The historical state transitions of the session_state message including the current session state.
ttl 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.
Implementation
const GetDeviceSessionResult({
required this.activeStartTime,
required this.androidDevice,
required this.createTime,
required this.displayName,
required this.expireTime,
required this.inactivityTimeout,
required this.name,
required this.state,
required this.stateHistories,
required this.ttl,
});