Enumerations

The following enumerations are available globally.

  • チャンネルの状態

    See more

    Declaration

    Objective-C

    enum SKWChannelState : NSUInteger {}

    Swift

    enum ChannelState : UInt, @unchecked Sendable
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSUInteger, SKWErrorCode) {
        SKWAvailableCameraIsMissing       = 0,
        SKWCameraIsNotSet                 = 1,
        SKWContextSetupError              = 2,
        SKWChannelFindError               = 3,
        SKWChannelCreateError             = 4,
        SKWChannelFindOrCreateError       = 5,
        SKWChannelJoinError               = 6,
        SKWChannelLeaveError              = 7,
        SKWChannelCloseError              = 8,
        SKWMemberUpdateMetadataError      = 9,
        SKWMemberLeaveError               = 10,
        SKWLocalPersonPublishError        = 11,
        SKWLocalPersonSubscribeError      = 12,
        SKWLocalPersonUnpublishError      = 13,
        SKWLocalPersonUnsubscribeError    = 14,
        SKWRemotePersonSubscribeError     = 15,
        SKWRemotePersonUnsubscribeError   = 16,
        SKWPublicationUpdateMetadataError = 17,
        SKWPublicationCancelError         = 18,
        SKWPublicationEnableError         = 19,
        SKWPublicationDisableError        = 20,
        SKWSubscriptionCancelError        = 21,
        SKWContextDisposeError            = 22,
        SKWFatalErrorRAPIReconnectFailed  = 23,
        SKWChannelUpdateMetadataError     = 24,
    }

    Swift

    enum SKWErrorCode : UInt, @unchecked Sendable
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSUInteger, SKWMemberState) {
        SKWMemberStateJoined,
        SKWMemberStateLeft,
    }

    Swift

    enum MemberState : UInt, @unchecked Sendable
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSUInteger, SKWPublicationState) {
        SKWPublicationStateEnabled,
        SKWPublicationStateDisabled,
        SKWPublicationStateCanceled,
    }

    Swift

    enum PublicationState : UInt, @unchecked Sendable
  • Subscriptionの状態

    See more

    Declaration

    Objective-C

    enum SKWSubscriptionState : NSUInteger {}

    Swift

    enum SubscriptionState : UInt, @unchecked Sendable
  • ログのレベル一覧

    See more

    Declaration

    Objective-C

    enum SKWLogLevel : NSUInteger {}

    Swift

    enum LogLevel : UInt, @unchecked Sendable
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSUInteger, SKWSide) {
        SKWSideLocal,
        SKWSideRemote,
    }

    Swift

    enum Side : UInt, @unchecked Sendable
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSUInteger, SKWMemberType) {
        SKWMemberTypePerson,
        SKWMemberTypeBot,
    }

    Swift

    enum MemberType : UInt, @unchecked Sendable
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSUInteger, SKWContentType) {
        SKWContentTypeAudio,
        SKWContentTypeVideo,
        SKWContentTypeData,
    }

    Swift

    enum ContentType : UInt, @unchecked Sendable
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSUInteger, SKWRoomType) {
        SKWRoomTypeP2P,
        SKWRoomTypeSFU,
    }

    Swift

    enum RoomType : UInt, @unchecked Sendable
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSUInteger, SKWRoomState) {
        SKWRoomStateOpened,
        SKWRoomStateClosed,
    }

    Swift

    enum RoomState : UInt, @unchecked Sendable
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSUInteger, SKWTurnPolicy) {
        /// TURNが有効なモード
        ///
        /// SkyWay Auth Tokenのturnが有効のとき、TURNサーバが利用されることがあります。
        ///
        /// TURNについてはこちらをご覧ください。
        ///
        /// https://skyway.ntt.com/ja/docs/user-guide/turn/
        SKWTurnPolicyEnable,
        /// TURNが無効なモード
        ///
        /// SkyWay Auth Tokenのturnが有効であっても、TURNサーバ経由で通信されません。
        ///
        /// TURNについてはこちらをご覧ください。
        ///
        /// https://skyway.ntt.com/ja/docs/user-guide/turn/
        SKWTurnPolicyDisable,
        /// TURNサーバ経由を強制するモード
        ///
        /// TURNについてはこちらをご覧ください。
        ///
        /// https://skyway.ntt.com/ja/docs/user-guide/turn/
        SKWTurnPolicyTurnOnly,
    }

    Swift

    enum TurnPolicy : UInt, @unchecked Sendable
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSUInteger, SKWConnectionState) {
        SKWNew,
        SKWConnecting,
        SKWConnected,
        SKWReconnecting,
        SKWDisconnected,
    }

    Swift

    enum ConnectionState : UInt, @unchecked Sendable