Enumerations

The following enumerations are available globally.

  • 业务模块枚举

    Note

    每个模块对应一个字符,如:‘PLVConsoleLogModuleTypeJSBridge’对应‘PLVS-JS’
    See more

    Declaration

    Objective-C

    enum PLVConsoleLogModuleType {}
  • 画笔类型

    See more

    Declaration

    Objective-C

    enum PLVContainerApplianceType {}

    Swift

    enum PLVContainerApplianceType : Int
  • 文件上传状态

    See more

    Declaration

    Objective-C

    enum PLVDocumentUploadStatus {}

    Swift

    enum PLVDocumentUploadStatus : Int
  • 互动学堂上课状态

    See more

    Declaration

    Objective-C

    enum PLVHiClassStatus {}

    Swift

    enum PLVHiClassStatus : Int
  • 互动学堂学员分组状态

    See more

    Declaration

    Objective-C

    enum PLVHiClassGroupState {}

    Swift

    enum PLVHiClassGroupState : Int
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSInteger, PLVImageEmotionMessageSendState) {
        PLVImageEmotionMessageSendStateReady  = 0,
        PLVImageEmotionMessageSendStateFailed,
        PLVImageEmotionMessageSendStateSuccess
    }

    Swift

    enum PLVImageEmotionMessageSendState : Int
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSInteger, PLVImageUploadState) {
        PLVImageUploadStateReady = 0,
        PLVImageUploadStateUploading,
        PLVImageUploadStateFailed,
        PLVImageUploadStateSuccess
    }

    Swift

    enum PLVImageUploadState : Int
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSInteger, PLVImageMessageSendState) {
        PLVImageMessageSendStateReady = 0,
        PLVImageMessageSendStateFailed,
        PLVImageMessageSendStateSuccess
    }

    Swift

    enum PLVImageMessageSendState : Int
  • 连麦场景类型

    See more

    Declaration

    Objective-C

    enum PLVLinkMicSceneType {}

    Swift

    enum PLVLinkMicSceneType : Int
  • 频道类型

    See more

    Declaration

    Objective-C

    enum PLVChannelType {}
  • 视频类型

    See more

    Declaration

    Objective-C

    enum PLVChannelVideoType {}
  • 频道 直播流状态

    See more

    Declaration

    Objective-C

    enum PLVChannelLiveStreamState {}
  • 频道 连麦场景类型

    See more

    Declaration

    Objective-C

    enum PLVChannelLinkMicSceneType {}
  • 频道 连麦媒体类型

    See more

    Declaration

    Objective-C

    enum PLVChannelLinkMicMediaType {}
  • 频道 限制类型

    See more

    Declaration

    Objective-C

    enum PLVChannelRestrictState {}
  • 频道 暖场类型

    See more

    Declaration

    Objective-C

    enum PLVChannelWarmUpType {}
  • 频道 跑马灯类型

    See more

    Declaration

    Objective-C

    enum PLVChannelMarqueeType {}
  • 加载状态

    See more

    Declaration

    Objective-C

    enum PLVLivePlaybackPlayerLoadState {}

    Swift

    enum PLVLivePlaybackPlayerLoadState : Int
  • 加载状态

    See more

    Declaration

    Objective-C

    enum PLVLivePlayerLoadState {}

    Swift

    enum PLVLivePlayerLoadState : Int
  • 网络质量(快直播独有)

    See more

    Declaration

    Objective-C

    enum PLVLivePlayerQuickLiveNetworkQuality {}

    Swift

    enum PLVLivePlayerQuickLiveNetworkQuality : Int
  • 播放器 主副类型

    See more

    Declaration

    Objective-C

    enum PLVPlayerMainSubType {}

    Swift

    enum PLVPlayerMainSubType : Int
  • 混流布局类型

    See more

    Declaration

    Objective-C

    enum PLVRTCStreamerMixLayoutType {}

    Swift

    enum PLVRTCStreamerMixLayoutType : Int
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSInteger, PLVRTCStreamerManagerErrorCode) {
        /// -1: 未知错误
        PLVRTCStreamerManagerErrorCode_UnknownError = -1,
        /// 0: 无错误
        PLVRTCStreamerManagerErrorCode_NoError = 0,
        
        /// 100: 开始推流失败,流配置错误
        PLVRTCStreamerManagerErrorCode_PushStreamFailedSetupStreamError = 100,
        /// 102: 开始推流失败,流接口错误
        PLVRTCStreamerManagerErrorCode_PushStreamFailedActionError = 102,
        /// 104: 开始推流失败,Session获取错误
        PLVRTCStreamerManagerErrorCode_PushStreamFailedSessionGetError = 104,
        /// 106: 开始推流失败,Session获取非法
        PLVRTCStreamerManagerErrorCode_PushStreamFailedSessionIllegal = 106,
        
        /// 202: 更新RTCToken失败,接口错误
        PLVRTCStreamerManagerErrorCode_UpdateRTCTokenFailedAuthError = 202,
        
        /// 300: RTC内部错误
        PLVRTCStreamerManagerErrorCode_RTCManagerError = 300,
        /// 302: RTC内部错误,启动音频模块失败
        PLVRTCStreamerManagerErrorCode_RTCManagerErrorStartAudioFailed = 302,
    }

    Swift

    enum PLVRTCStreamerManagerErrorCode : Int
  • 混流用户 画面填充模式

    See more

    Declaration

    Objective-C

    enum PLVRTCStreamerMixUserRenderMode {}

    Swift

    enum PLVRTCStreamerMixUserRenderMode : Int
  • 混流用户 混流媒体类型

    See more

    Declaration

    Objective-C

    enum PLVRTCStreamerMixUserInputType {}

    Swift

    enum PLVRTCStreamerMixUserInputType : Int
  • 用户类型枚举 注意:需要与BusinessSDK的PLVBSocketUserType枚举对齐

    See more

    Declaration

    Objective-C

    enum PLVSocketUserType {}

    Swift

    enum PLVSocketUserType : UInt
  • socket 连接状态枚举 /// 注意:需要与BusinessSDK的PLVBSocketConnectStatus枚举对齐

    See more

    Declaration

    Objective-C

    enum PLVSocketConnectStatus {}

    Swift

    enum PLVSocketConnectStatus : UInt
  • socket 登陆失败错误码 注意:需要与BusinessSDK的PLVBSocketErrorCode枚举对齐

    See more

    Declaration

    Objective-C

    enum PLVSocketLoginErrorCode {}

    Swift

    enum PLVSocketLoginErrorCode : Int
  • ‘TEACHER_SET_PERMISSION’ socket消息类型

    See more

    Declaration

    Objective-C

    enum PLVSocketPermissionType {}

    Swift

    enum PLVSocketPermissionType : Int
  • 画笔类型枚举

    See more

    Declaration

    Objective-C

    enum PLVWebViewBrushPenType {}

    Swift

    enum PLVWebViewBrushPenType : Int
  • 翻页类型

    See more

    Declaration

    Objective-C

    enum PLVChangePPTPageType {}

    Swift

    enum PLVChangePPTPageType : Int