Session

public final class Session

Represents a session with the ScreenMeet backend services.

  • Retrieve the current state of the session.

    Declaration

    Swift

    public var lifecycleState: State
  • The owner of this session. The owner may or may not ultimately join this session as a participant.

    Declaration

    Swift

    public var ownerName: String?
  • Return the set of other participants in this session.

    Declaration

    Swift

    public var participants: [ScreenMeet.Session.Participant]
  • Pauses any streaming on the current session

    Declaration

    Swift

    public func pause()
  • Resumes streaming on the current session

    Declaration

    Swift

    public func resume()
  • Represents the state of a session

    See more

    Declaration

    Swift

    public enum State
  • Describes session participant

    See more

    Declaration

    Swift

    public struct Participant : Identifiable, Equatable
  • The actions that may happen for a participant

    See more

    Declaration

    Swift

    public enum ParticipantAction
  • Describes reason why session can’t be started

    See more

    Declaration

    Swift

    public enum SessionError : Error