netease_roomkit
library
Typedefs
-
ChatroomMessageAttachmentProgressCallback
= void Function(String messageUuid, int transferred, int total)
-
-
DeleteAllSessionCallback
= void Function(String sessionId, NERoomSessionTypeEnum sessionType)
-
删除所有消息回调
-
DeleteSessionMessageCallback
= void Function(NECustomSessionMessage? sessionCustomMessage)
-
IM删除消息回调
sessionChangeMessage
自定义会话消息
-
MemberAudioConnectStateChanged
= void Function(NERoomMember? member, bool isAudioConnected)
-
-
MemberAudioMuteChangedCallback
= void Function(NERoomMember member, bool mute, NERoomMember? operateBy)
-
-
MemberJoinChatroomCallback
= void Function(List<NERoomMember> members)
-
-
MemberJoinRoomCallback
= void Function(List<NERoomMember> members)
-
-
MemberJoinRtcChannelCallback
= void Function(List<NERoomMember> members)
-
-
MemberLeaveChatroomCallback
= void Function(List<NERoomMember> members)
-
-
MemberLeaveRoomCallback
= void Function(List<NERoomMember> members)
-
-
MemberLeaveRtcChannelCallback
= void Function(List<NERoomMember> members)
-
-
MemberNameChangedCallback
= void Function(NERoomMember member, String name, NERoomMember? operateBy)
-
-
MemberPropertiesChangedCallback
= void Function(NERoomMember member, Map<String, String> properties)
-
-
MemberPropertiesDeletedCallback
= void Function(NERoomMember member, Map<String, String> properties)
-
-
MemberRoleChangedCallback
= void Function(NERoomMember member, NERoomRole oldRole, NERoomRole newRole)
-
-
MemberScreenShareStateChangedCallback
= void Function(NERoomMember member, bool isSharing, NERoomMember? operateBy)
-
-
MemberVideoMuteChangedCallback
= void Function(NERoomMember member, bool mute, NERoomMember? operateBy)
-
-
MemberWhiteboardShareStateChangedCallback
= void Function(NERoomMember member, bool isSharing, NERoomMember? operateBy)
-
-
NetworkQualityCallback
= void Function(List<NERoomRtcNetworkQualityInfo> stats)
-
通话中所有用户的网络状态回调
stats
网络质量统计信息
-
ReceiveChatroomMessagesCallback
= void Function(List<NERoomChatMessage> messages)
-
-
ReceiveCustomMessageCallback
= void Function(NECustomMessage throughMessage)
-
IM自定义透传消息回调
throughMessage
透传消息
-
ReceiveMessageSessionCallback
= void Function(NECustomSessionMessage sessionCustomMessage)
-
IM自定义消息回调
sessionCustomMessage
自定义会话消息
-
RecentSessionChangeCallback
= void Function(List<NERoomRecentSession> recentSessionChangeMessageList)
-
IM自定义消息回调
sessionCustomMessage
自定义会话消息
-
RoomBlacklistStateChanged
= void Function(bool isEnable)
-
-
RoomCloudRecordStateChanged
= void Function(NERoomCloudRecordState state, NERoomMember? operateBy)
-
-
RoomConnectStateChanged
= void Function(int state)
-
-
RoomEndCallback
= void Function(NERoomEndReason reason)
-
-
RoomLiveStateChangedCallback
= void Function(NERoomLiveState state)
-
-
RoomLockStateChangedCallback
= void Function(bool isLocked)
-
-
RoomPropertiesChangedCallback
= void Function(Map<String, String> properties)
-
-
RoomPropertiesDeletedCallback
= void Function(Map<String, String> properties)
-
-
RoomRemainingSecondsRenewCallback
= void Function(int duration)
-
-
RtcAudioMixingStateChangedCallback
= void Function(int reason)
-
-
RtcAudioOutputDeviceChangedCallback
= void Function(NEAudioOutputDevice device)
-
-
RtcChannelErrorCallback
= void Function(int code)
-
-
RtcLastmileProbeResultCallback
= void Function(NERoomRtcLastmileProbeResult result)
-
-
RtcLastmileQualityCallback
= void Function(NERoomRtcNetworkStatusType status)
-
-
RtcLocalAudioVolumeIndicationCallback
= void Function(int volume, bool enableVad)
-
-
RtcRemoteAudioVolumeIndicationCallback
= void Function(List<NEMemberVolumeInfo> volumes, int totalVolume)
-
-
RtcStatsCallback
= void Function(NERoomRtcStats stats)
-
当前通话统计回调,SDK 定期向 App 报告当前通话的统计信息,每 2 秒触发一次
stats
通话相关的统计信息
-
RtcVirtualBackgroundSourceEnabledCallback
= void Function(bool enabled, int reason)
-
-
SeatInvitationAcceptedCallback
= void Function(int seatIndex, String user, bool isAutoAgree)
-
-
SeatInvitationCancelledCallback
= void Function(int seatIndex, String user, String operateBy)
-
-
SeatInvitationReceivedCallback
= void Function(int seatIndex, String user, String operateBy)
-
-
SeatInvitationRejectedCallback
= void Function(int seatIndex, String user)
-
-
SeatKickedCallback
= void Function(int seatIndex, String user, String operateBy)
-
-
SeatLeaveCallback
= void Function(int seatIndex, String user)
-
-
SeatListChangedCallback
= void Function(List<NESeatItem> seatItems)
-
-
SeatManagerAddedCallback
= void Function(List<String?> managers)
-
-
SeatManagerRemovedCallback
= void Function(List<String?> managers)
-
-
SeatRequestApprovedCallback
= void Function(int seatIndex, String user, String operateBy, bool isAutoAgree)
-
-
SeatRequestCancelledCallback
= void Function(int seatIndex, String user)
-
-
SeatRequestRejectedCallback
= void Function(int seatIndex, String user, String operateBy)
-
-
SeatRequestSubmittedCallback
= void Function(int seatIndex, String user)
-
-
WhiteboardErrorCallback
= void Function(int code, String? msg)
-
-
WhiteboardShowFileChooserCallback
= Future<String?> Function(List<String?> types)
-