2020 API AWARDS WINNER - BEST IN MEDIA APIs LEARN MORE

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:

NameTypeDefaultDescription
optionsVTParticipantInfonilInformation about the current participant (optional)
completion((_ error: NSError?) -> Void)?nil-

close

close(completion: ((_ error: NSError?) -> Void)?)

Closes the current session.

NameTypeDefault
completion((_ error: NSError?) -> Void)?nil