Enumerations

The following enumerations are available globally.

  • Undocumented

    See more

    Declaration

    Objective-C

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

    Swift

    enum PLVImageEmotionMessageSendState : Int, @unchecked Sendable
  • Undocumented

    See more

    Declaration

    Objective-C

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

    Swift

    enum PLVImageUploadState : Int, @unchecked Sendable
  • Undocumented

    See more

    Declaration

    Objective-C

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

    Swift

    enum PLVImageMessageSendState : Int, @unchecked Sendable
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSInteger, PLVRedpackMessageType) {
        PLVRedpackMessageTypeUnknown = 0,       // 未知红包类型
        PLVRedpackMessageTypeAliPassword // 支付宝口令红包
    }

    Swift

    enum PLVRedpackMessageType : Int, @unchecked Sendable
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSInteger, PLVRedpackState) {
        PLVRedpackStateUnknow = 0,
        PLVRedpackStateExpired, // 已过期
        PLVRedpackStateNoneRedpack, // 已派完
        PLVRedpackStateReceive, // 已领取
        PLVRedpackStateSuccess  // 可领取
    }

    Swift

    enum PLVRedpackState : Int, @unchecked Sendable
  • 互动学堂上课状态

    See more

    Declaration

    Objective-C

    enum PLVHiClassStatus : NSInteger {}

    Swift

    enum PLVHiClassStatus : Int, @unchecked Sendable
  • 互动学堂学员分组状态

    See more

    Declaration

    Objective-C

    enum PLVHiClassGroupState : NSInteger {}

    Swift

    enum PLVHiClassGroupState : Int, @unchecked Sendable
  • 画笔类型

    See more

    Declaration

    Objective-C

    enum PLVContainerApplianceType : NSInteger {}

    Swift

    enum PLVContainerApplianceType : Int, @unchecked Sendable
  • 画笔类型枚举

    See more

    Declaration

    Objective-C

    enum PLVWebViewBrushPenType : NSInteger {}

    Swift

    enum PLVWebViewBrushPenType : Int, @unchecked Sendable
  • 翻页类型

    See more

    Declaration

    Objective-C

    enum PLVChangePPTPageType : NSInteger {}

    Swift

    enum PLVChangePPTPageType : Int, @unchecked Sendable
  • 业务模块枚举

    Note

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

    Declaration

    Objective-C

    enum PLVConsoleLogModuleType : NSUInteger {}
  • 频道类型

    See more

    Declaration

    Objective-C

    enum PLVChannelType : NSInteger {}
  • 视频类型

    See more

    Declaration

    Objective-C

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

    See more

    Declaration

    Objective-C

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

    See more

    Declaration

    Objective-C

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

    See more

    Declaration

    Objective-C

    enum PLVChannelLinkMicMediaType : NSInteger {}
  • 频道 限制类型

    See more

    Declaration

    Objective-C

    enum PLVChannelRestrictState : NSInteger {}
  • 频道 暖场类型

    See more

    Declaration

    Objective-C

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

    See more

    Declaration

    Objective-C

    enum PLVChannelMarqueeType : NSUInteger {}
  • 频道 防录屏水印类型

    See more

    Declaration

    Objective-C

    enum PLVChannelWatermarkType : NSUInteger {}
  • 频道 防录屏水印字体大小

    See more

    Declaration

    Objective-C

    enum PLVChannelWatermarkFontSize : NSUInteger {}
  • 频道 片头广告类型

    See more

    Declaration

    Objective-C

    enum PLVChannelAdvertType : NSUInteger {}
  • 回放视频缓存状态

    See more

    Declaration

    Objective-C

    enum PLVPlaybackVideoCacheState : NSInteger {}
  • 下载状态定义

    See more

    Declaration

    Objective-C

    enum PLVDownloadState : NSInteger {}
  • 数据库数组类型定义

    See more

    Declaration

    Objective-C

    enum PLVDownloadDatabaseTaskInfoArrayType : NSInteger {}
  • 播放器 主副类型

    See more

    Declaration

    Objective-C

    enum PLVPlayerMainSubType : NSInteger {}

    Swift

    enum PLVPlayerMainSubType : Int, @unchecked Sendable
  • 画中画模式

    See more

    Declaration

    Objective-C

    enum PLVLivePictureInPictureMode : NSUInteger {}

    Swift

    struct PLVLivePictureInPictureMode : OptionSet, @unchecked Sendable
  • 加载状态

    See more

    Declaration

    Objective-C

    enum PLVLivePlaybackPlayerLoadState : NSInteger {}

    Swift

    enum PLVLivePlaybackPlayerLoadState : Int, @unchecked Sendable
  • 加载状态

    See more

    Declaration

    Objective-C

    enum PLVLivePlayerLoadState : NSInteger {}

    Swift

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

    See more

    Declaration

    Objective-C

    enum PLVLivePlayerQuickLiveNetworkQuality : NSInteger {}

    Swift

    enum PLVLivePlayerQuickLiveNetworkQuality : Int, @unchecked Sendable
  • 网络质量(公共流播放器)

    See more

    Declaration

    Objective-C

    enum PLVPublicStreamPlayerNetworkQuality : NSInteger {}

    Swift

    enum PLVPublicStreamPlayerNetworkQuality : Int, @unchecked Sendable
  • 连麦场景类型

    See more

    Declaration

    Objective-C

    enum PLVLinkMicSceneType : NSInteger {}

    Swift

    enum PLVLinkMicSceneType : Int, @unchecked Sendable
  • 混流布局类型

    See more

    Declaration

    Objective-C

    enum PLVRTCStreamerMixLayoutType : NSInteger {}

    Swift

    enum PLVRTCStreamerMixLayoutType : Int, @unchecked Sendable
  • 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, @unchecked Sendable
  • 混流用户 画面填充模式

    See more

    Declaration

    Objective-C

    enum PLVRTCStreamerMixUserRenderMode : NSInteger {}

    Swift

    enum PLVRTCStreamerMixUserRenderMode : Int, @unchecked Sendable
  • 混流用户 混流媒体类型

    See more

    Declaration

    Objective-C

    enum PLVRTCStreamerMixUserInputType : NSInteger {}

    Swift

    enum PLVRTCStreamerMixUserInputType : Int, @unchecked Sendable
  • 混流用户 流类型

    See more

    Declaration

    Objective-C

    enum PLVRTCStreamerMixUserStreamType : NSInteger {}

    Swift

    enum PLVRTCStreamerMixUserStreamType : Int, @unchecked Sendable
  • 用户类型枚举 注意:需要与BusinessSDK的PLVBSocketUserType枚举对齐

    See more

    Declaration

    Objective-C

    enum PLVSocketUserType : NSUInteger {}

    Swift

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

    See more

    Declaration

    Objective-C

    enum PLVSocketConnectStatus : NSUInteger {}

    Swift

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

    See more

    Declaration

    Objective-C

    enum PLVSocketLoginErrorCode : NSInteger {}

    Swift

    enum PLVSocketLoginErrorCode : Int, @unchecked Sendable
  • ‘TEACHER_SET_PERMISSION’ socket消息类型

    See more

    Declaration

    Objective-C

    enum PLVSocketPermissionType : NSInteger {}

    Swift

    enum PLVSocketPermissionType : Int, @unchecked Sendable
  • 文件上传状态

    See more

    Declaration

    Objective-C

    enum PLVDocumentUploadStatus : NSInteger {}

    Swift

    enum PLVDocumentUploadStatus : Int, @unchecked Sendable