SessionService
The SessionService allows an application to register its participants' information in the Voxeet service. It is mandatory for the application to open a session before it can interact with the service further. The application may open and close sessions multiple times.
Accessors
participant
▸ participant: VTParticipant
Provides a participant.
Returns: VTParticipant
Methods
open
▸ open(options
: VTParticipantInfo?, completion
: ((_ error: NSError?) -> Void)?)
Opens a new session.
Parameters:
Name | Type | Default | Description |
---|---|---|---|
options | VTParticipantInfo | nil | Information about the current participant (optional) |
completion | ((_ error: NSError?) -> Void)? | nil | - |
close
▸ close(completion
: ((_ error: NSError?) -> Void)?)
Closes the current session.
Name | Type | Default |
---|---|---|
completion | ((_ error: NSError?) -> Void)? | nil |