AgoraRtmClient class
Methods
-
acceptRemoteInvitation(Map<String, dynamic> arguments)
→ Future<void>
-
AgoraRtmCallManager.acceptRemoteInvitation
-
addOrUpdateChannelAttributes(String channelId, List<RtmChannelAttribute> attributes, bool enableNotificationToChannelMembers)
→ Future<void>
-
addOrUpdateChannelAttributes2
-
addOrUpdateChannelAttributes2(String channelId, List<RtmChannelAttribute> attributes, [ChannelAttributeOptions? option])
→ Future<void>
-
Adds or updates the channel's attribute(s).
-
addOrUpdateLocalUserAttributes(List<Map<String, String>> attributes)
→ Future<void>
-
addOrUpdateLocalUserAttributes2
-
addOrUpdateLocalUserAttributes2(List<RtmAttribute> attributes)
→ Future<void>
-
Adds or updates the local user’s attribute(s).
-
cancelLocalInvitation(Map<String, dynamic> arguments)
→ Future<void>
-
AgoraRtmCallManager.cancelLocalInvitation
-
clearChannelAttributes(String channelId, bool enableNotificationToChannelMembers)
→ Future<void>
-
clearChannelAttributes2
-
clearChannelAttributes2(String channelId, [ChannelAttributeOptions? option])
→ Future<void>
-
Clears all attributes of the channel.
-
clearLocalUserAttributes()
→ Future<void>
-
Clears all attributes of the local user.
-
createChannel(String channelId)
→ Future<AgoraRtmChannel?>
-
Creates an
AgoraRtmChannel
.
-
createRawMessage(Uint8List raw, String? description)
→ RtmMessage
-
-
createTextMessage(String text)
→ RtmMessage
-
-
deleteChannelAttributesByKeys(String channelId, List<String> keys, bool enableNotificationToChannelMembers)
→ Future<void>
-
deleteChannelAttributesByKeys2
-
deleteChannelAttributesByKeys2(String channelId, List<String> attributeKeys, [ChannelAttributeOptions? option])
→ Future<void>
-
Deletes the channel's attributes using attribute keys.
-
deleteLocalUserAttributesByKeys(List<String> attributeKeys)
→ Future<void>
-
Deletes the local user’s attributes using attribute keys.
-
destroy()
→ Future<void>
-
-
getChannelAttributes(String channelId)
→ Future<List<RtmChannelAttribute>>
-
Gets all attributes of a specified channel.
-
getChannelAttributesByKeys(String channelId, List<String> attributeKeys)
→ Future<List<RtmChannelAttribute>>
-
Gets the attributes of a specified channel using attribute keys.
-
getChannelMemberCount(List<String> channelIds)
→ Future<List<RtmChannelMemberCount>>
-
-
getRtmCallManager()
→ AgoraRtmCallManager
-
-
getUserAttributes(String userId)
→ Future<Map<String, dynamic>>
-
getUserAttributes2
-
getUserAttributes2(String userId)
→ Future<List<RtmAttribute>>
-
Gets all attributes of a specified user.
-
getUserAttributesByKeys(String userId, List<String> keys)
→ Future<Map<String, dynamic>>
-
getUserAttributesByKeys2
-
getUserAttributesByKeys2(String userId, List<String> attributeKeys)
→ Future<List<RtmAttribute>>
-
Gets the attributes of a specified user using attribute keys.
-
login(String? token, String userId)
→ Future<void>
-
Allows a user to log in the Agora RTM system.
-
logout()
→ Future<void>
-
Allows a user to log out of the Agora RTM system.
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
queryPeersBySubscriptionOption(RtmPeerSubscriptionOption option)
→ Future<List<String>>
-
-
queryPeersOnlineStatus(List<String> peerIds)
→ Future<Map<String, RtmPeerOnlineState>>
-
Queries the online status of the specified user(s).
-
refuseRemoteInvitation(Map<String, dynamic> arguments)
→ Future<void>
-
AgoraRtmCallManager.refuseRemoteInvitation
-
release()
→ Future<void>
-
Destroy and stop event to the client with related channels.
-
releaseChannel(String channelId)
→ Future<void>
-
AgoraRtmChannel.release
-
renewToken(String token)
→ Future<void>
-
Renews the token.
-
sendLocalInvitation(Map<String, dynamic> arguments)
→ Future<void>
-
AgoraRtmCallManager.sendLocalInvitation
-
sendMessageToPeer(String peerId, RtmMessage message, [bool? offline, bool? historical])
→ Future<void>
-
sendMessageToPeer2
-
sendMessageToPeer2(String peerId, RtmMessage message, [SendMessageOptions? options])
→ Future<void>
-
Allows a user to send a peer-to-peer message to a specific peer user.
-
setChannelAttributes(String channelId, List<RtmChannelAttribute> attributes, bool enableNotificationToChannelMembers)
→ Future<void>
-
setChannelAttributes2
-
setChannelAttributes2(String channelId, List<RtmChannelAttribute> attributes, [ChannelAttributeOptions? option])
→ Future<void>
-
Substitutes the channel attributes with new ones.
-
setLocalUserAttributes(List<Map<String, String>> attributes)
→ Future<void>
-
setLocalUserAttributes2
-
setLocalUserAttributes2(List<RtmAttribute> attributes)
→ Future<void>
-
Substitutes the local user’s attributes with new ones.
-
setLog(int level, int size, String path)
→ Future<void>
-
setLogFile
setLogFilter
setLogFileSize
-
setLogFile(String filePath)
→ Future<void>
-
-
setLogFileSize(int fileSizeInKBytes)
→ Future<void>
-
-
setLogFilter(RtmLogFilter filter)
→ Future<void>
-
-
setParameters(String parameters)
→ Future<void>
-
-
subscribePeersOnlineStatus(List<String> peerIds)
→ Future<void>
-
-
toString()
→ String
-
A string representation of this object.
inherited
-
unsubscribePeersOnlineStatus(List<String> peerIds)
→ Future<void>
-