Session class
Describes a streaming session.
Constructors
- Session({required String fleetName, required String id, required String stackName, required SessionState state, required String userId, AuthenticationType? authenticationType, SessionConnectionState? connectionState, DateTime? maxExpirationTime, NetworkAccessConfiguration? networkAccessConfiguration, DateTime? startTime})
-
Session.fromJson(Map<
String, dynamic> json) -
factory
Properties
- authenticationType → AuthenticationType?
-
The authentication method. The user is authenticated using a streaming URL
(
API
) or SAML 2.0 federation (SAML
).final - connectionState → SessionConnectionState?
-
Specifies whether a user is connected to the streaming session.
final
- fleetName → String
-
The name of the fleet for the streaming session.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
The identifier of the streaming session.
final
- maxExpirationTime → DateTime?
-
The time when the streaming session is set to expire. This time is based on
the
MaxUserDurationinSeconds
value, which determines the maximum length of time that a streaming session can run. A streaming session might end earlier than the time specified inSessionMaxExpirationTime
, when theDisconnectTimeOutInSeconds
elapses or the user chooses to end his or her session. If theDisconnectTimeOutInSeconds
elapses, or the user chooses to end his or her session, the streaming instance is terminated and the streaming session ends.final - networkAccessConfiguration → NetworkAccessConfiguration?
-
The network details for the streaming session.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stackName → String
-
The name of the stack for the streaming session.
final
- startTime → DateTime?
-
The time when a streaming instance is dedicated for the user.
final
- state → SessionState
-
The current state of the streaming session.
final
- userId → String
-
The identifier of the user for whom the session was created.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited