SessionService class

The SessionService allows connecting the SDK with the Dolby.io backend via the open method. Opening a session is mandatory before interacting with any service.

Constructors

SessionService()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

close() Future<void>
Closes the current session.
getParticipant() Future<Participant?>
Provides the local participant object that belongs to the current session.
isOpen() Future<bool>
Checks whether there is an open session that connects SDK with the backend.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
open(ParticipantInfo participantInfo) Future<void>
Opens a new session to connect the SDK with the Dolby.io backend. The participantInfo parameter refers to an additional information about the local participant.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited