netease_voiceroomkit library
网易云信语聊房组件
Classes
- IMPrivateConstants
- MemberPropertyConstants
- ModelConvertUtil
- NECreateVoiceRoomOptions
- 创建房间选项
- NECreateVoiceRoomParams
- 创建房间参数
- NEJoinVoiceRoomOptions
- 加入房间选项
- NEJoinVoiceRoomParams
- 加入房间参数,支持中英文大小写、数字、特殊字符
- NEStartVoiceRoomParams
- NEVoiceCreateRoomDefaultInfo
- @property topic 随机直播主题 @property livePicture 直播房间背景
- NEVoiceRoomAnchor
- 主播信息 @property account 账号 @property nick 昵称 @property avatar 头像 @constructor
- NEVoiceRoomAuthEventCallback
- 登录事件回调
- NEVoiceRoomAuthListener
- 登录监听器
-
NEVoiceRoomCallback<
T> - 通用回调 @param T 数据
- NEVoiceRoomChatTextMessage
- 聊天室消息 @property fromUserUuid 发送端用户ID。如果为空字符串,则说明该用户可能未加入房间内。 @property fromNick 发送端昵称 @property toUserUuidList 接收端; 为空表示聊天室全体成员 @property time 消息时间戳 @property text 发送的消息内容
- NEVoiceRoomCreateAudioEffectOption
- @property path 音效路径 @property loopCount 播放次数 @property sendEnabled 是否发送声音到远端 @property sendVolume 发送音量 @property playbackEnabled 是否本地播放 @property playbackVolume 本地播放音量
- NEVoiceRoomCreateAudioMixingOption
- @property path 路径地址 @property loopCount 播放次数 @property sendEnabled 是否发送 @property sendVolume 发送音量 @property playbackEnabled 是否本地播放 @property playbackVolume 本地播放音量
- NEVoiceRoomErrorCode
- 错误码
- NEVoiceRoomEventCallback
- 房间事件回调
- NEVoiceRoomInfo
- 房间信息 @property anchor 主播信息 @property liveModel 直播模式 @constructor
- NEVoiceRoomKit
- VoiceRoomKit入口
- NEVoiceRoomKitConfig
- NEVoiceRoomKit配置 @property appKey NEVoiceRoom 服务的key @property extras 额外参数
- NEVoiceRoomKitOptions
- 初始化参数
- NEVoiceRoomList
- 房间列表 @property pageNum 当前页码 @property hasNextPage 是否有下一页 @property list 直播房间列表 @constructor
- NEVoiceRoomLiveModel
- 直播模式 @property appId 应用Id @property roomUuid 房间Id @property liveRecordId 直播Id @property userUuId String @property liveType Int @property live 直播状态 @property liveTopic 直播标题 @property cover 直播封面 @property rewardTotal 打赏总额 @property audienceCount 观众人数 @property onSeatCount 上麦人数 @property liveConfig 拉流配置 @constructor
- NEVoiceRoomMember
- 语聊房成员对象
- NEVoiceRoomOnSeatType
- 成员上麦方式
- NEVoiceRoomSeatInfo
- 麦位信息。 @property creator 麦位创建者。 @property managers 管理员列表。 @property seatItems 麦位列表信息。
- NEVoiceRoomSeatItem
- 单个麦位信息。 @property index 麦位位置。 @property status 麦位状态,参考NEVoiceRoomSeatItemStatus。 @property onSeatType 上麦类型,参考NEVoiceRoomOnSeatType。 @property user 当前状态关联的用户。 @property updated 更新时间戳,单位ms。
- NEVoiceRoomSeatItemStatus
- NEVoiceRoomSeatRequestItem
- 成员麦位申请信息。 @property index 麦位位置。如果为**-1**,表示未指定位置。 @property user 申请人。 @property userName 用户名。 @property user 用户头像。
- ServersConfig
- TextUtils
Enums
- NEVoiceRoomAudioOutputDevice
- 本地音频输出设备
- NEVoiceRoomAuthEvent
- 登录事件枚举
- NEVoiceRoomEndReason
- 房间结束原因枚举
- NEVoiceRoomLiveState
- 直播状态 @property value 状态 @constructor
- NEVoiceRoomRole
- 角色 @property value 角色值 @constructor
- SeatInvitationConfirmMode
- 管理员抱麦是否需要成员同意
- SeatRequestApprovalMode
- 上麦申请是否需要管理员同意
Typedefs
- AudioMixingStateChangedCallback = void Function(int reason)
- AudioOutputDeviceChangedCallback = void Function(NEVoiceRoomAudioOutputDevice device)
- MemberAudioBannedCallback = void Function(NEVoiceRoomMember member, bool banned)
- MemberAudioMuteChangedCallback = void Function(NEVoiceRoomMember member, bool mute, NEVoiceRoomMember? operateBy)
-
MemberJoinRoomCallback
= void Function(List<
NEVoiceRoomMember> members) -
MemberLeaveRoomCallback
= void Function(List<
NEVoiceRoomMember> members) - ReceiveTextMessageCallback = void Function(NEVoiceRoomChatTextMessage message)
- RoomEndedCallback = void Function(NEVoiceRoomEndReason reason)
- RtcChannelErrorCallback = void Function(int code)
- SeatInvitationAcceptedCallback = void Function(int seatIndex, String account, bool isAutoAgree)
- SeatKickedCallback = void Function(int seatIndex, String account, String operateBy)
- SeatLeaveCallback = void Function(int seatIndex, String account)
-
SeatListChangedCallback
= void Function(List<
NEVoiceRoomSeatItem> seatItems) - SeatRequestApprovedCallback = void Function(int seatIndex, String account, String operateBy, bool isAutoAgree)
- SeatRequestCancelledCallback = void Function(int seatIndex, String account)
- SeatRequestRejectedCallback = void Function(int seatIndex, String account, String operateBy)
- SeatRequestSubmittedCallback = void Function(int seatIndex, String account)
- VoiceRoomAuthEventCallback = void Function(NEVoiceRoomAuthEvent evt)