PLVLinkMicGetTokenModel

Objective-C

@interface PLVLinkMicGetTokenModel : NSObject

Swift

class PLVLinkMicGetTokenModel : NSObject

更新连麦Token时所需的数据模型

必需配置项

  • 频道号

    Declaration

    Objective-C

    @property (nonatomic, copy) NSString *_Nonnull channelId;

    Swift

    var channelId: String { get set }
  • 连麦用户ID

    Declaration

    Objective-C

    @property (nonatomic, copy) NSString *_Nonnull userId;

    Swift

    var userId: String { get set }
  • 频道类型

    Declaration

    Objective-C

    @property (nonatomic) PLVChannelType channelType;

    Swift

    var channelType: PLVChannelType { get set }
  • 用户类型字符串 讲师:teacher 嘉宾:guest 观众:audience 特邀观众:invited 主持人:host 参会者:attendee 互动学堂讲师:teacher 互动学堂观看端:SCStudent

    Declaration

    Objective-C

    @property (nonatomic, copy) NSString *_Nonnull userType;

    Swift

    var userType: String { get set }
  • 用户聊天室ID

    Declaration

    Objective-C

    @property (nonatomic, copy) NSString *_Nonnull viewerId;

    Swift

    var viewerId: String { get set }
  • 用户昵称

    Declaration

    Objective-C

    @property (nonatomic, copy) NSString *_Nonnull nickname;

    Swift

    var nickname: String { get set }
  • 场次ID

    Declaration

    Objective-C

    @property (nonatomic, copy) NSString *_Nonnull sessionId;

    Swift

    var sessionId: String { get set }
  • 课节ID

    Declaration

    Objective-C

    @property (nonatomic, copy) NSString *_Nullable lessonId;

    Swift

    var lessonId: String? { get set }
  • 课程码

    Declaration

    Objective-C

    @property (nonatomic, copy) NSString *_Nullable courseCode;

    Swift

    var courseCode: String? { get set }
  • 分组ID

    Declaration

    Objective-C

    @property (nonatomic, copy) NSString *_Nullable groupId;

    Swift

    var groupId: String? { get set }