Other Enumerations

The following enumerations are available globally.

  • User Permissions

    • recordMeetingAll: To check if the current user can record video and audio
    • recordMeetingVideo: To check if the current user can record video
    • recordMeetingAudio: To check if the current user can record audio

    Declaration

    Swift

    public enum PermissionsAction : String, Action
  • Code that represents a conference invitation state

    • decline: Callee decline invitation to conference
    • ok: ok
    • busy: Callee is busy
    • cancel: Caller cancel invitation to conference
    • timeout: timeout

    Declaration

    Swift

    public enum QNConferenceCode : Int
  • Use to identifier conference media

    • video: Use to share video
    • audio: Use to share audio

    Declaration

    Swift

    public enum QNConferenceConstraint : String

QNConferenceError

  • Error throw due to conference error

    • participantAlreadyInvited: Invite has already been sent to participant
    • participantNotInvitedPreviously: Cancel an invitation that does not exist
    • participantNotFound: Participant not found in server
    • hasAlreadyJoinedConference: User has already joined the conference
    • actionNotAllowed: Action not allowed for the user
    • roomNotCreated: The room does not exist
    • noAnswerToInvite: Callee doesn’t answer the invitation
    • invitationDeclined: Callee declined the answer
    • busy: Callee is busy
    • participantNotAvailable: Participant temporarily unavailable
    • forbidden: Not allowed
    • internalError: Server error

    Declaration

    Swift

    public enum QNConferenceError : Error
  • A conference participant

    • user: A participant who exists in the server
    • pstn: A participant from pstn

    Declaration

    Swift

    public enum QNConferenceParticipant
  • Define errors for resource actions

    • resourceNotFound: resource doesn´t exist
    • forbidden: forbidden
    • internalError: an internal error ocurred
    • notAllowed: user is not allowed to perform this action on the resource
    • invalidResource: resource is not valid
    • timeout: timeout

    Declaration

    Swift

    public enum ResourceError : Error
  • Stack state

    • new: Initial state.
    • connected: Session has connected with the server.
    • disconnected: Session has been disconnected.
    • error: Error during first authentication
    See more

    Declaration

    Swift

    public enum StackState : String