ChatPushManager class

The message push configuration options.

Constructors

ChatPushManager()

Properties

hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

fetchConversationSilentMode({required String conversationId, required ChatConversationType type}) Future<ChatSilentModeResult>
Gets the offline push settings of a conversation.
fetchPreferredNotificationLanguage() Future<String?>
Gets the preferred language for push notifications.
fetchPushConfigsFromServer() Future<ChatPushConfigs>
Gets the push configurations from the server.
fetchSilentModeForAll() Future<ChatSilentModeResult>
Gets the offline push settings at the app level for the current login user.
fetchSilentModeForConversations(List<ChatConversation> conversations) Future<Map<String, ChatSilentModeResult>>
Gets the offline push settings of specified conversations.
getPushTemplate() Future<String?>
Gets the template for offline push notifications.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeConversationSilentMode({required String conversationId, required ChatConversationType type}) Future<void>
Removes the offline push notification settings for a conversation.
setConversationSilentMode({required String conversationId, required ChatConversationType type, required ChatSilentModeParam param}) Future<void>
Sets the push notifications for a conversation.
setPreferredNotificationLanguage(String languageCode) Future<void>
Sets the preferred language for push notifications.
setPushTemplate(String pushTemplateName) Future<void>
Sets the template for offline push notifications.
setSilentModeForAll({required ChatSilentModeParam param}) Future<void>
Sets the offline push settings at the app level for the current login user.
toString() String
A string representation of this object.
inherited
updateAPNsDeviceToken(String token) Future<void>
Updates the APNs push token.
updateFCMPushToken(String token) Future<void>
Updates the FCM push token.
updateHMSPushToken(String token) Future<void>
Updates the HMS push token.
updatePushDisplayStyle(DisplayStyle displayStyle) Future<void>
Updates the push message display style. The default value is DisplayStyle.Simple.
updatePushNickname(String nickname) Future<void>
Updates the push display nickname of the current user.

Operators

operator ==(Object other) bool
The equality operator.
inherited