SessionService class Services

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.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

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 non-existent 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
updateParticipantInfo(String name, String avatarUrl) Future<void>
Updates the local participant's name and avatar URL. This method is supported in SDK 3.10 and later.

Operators

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