PushManagerDefault class

Inheritance

Constructors

PushManagerDefault.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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