PushManager class
- Mixed-in types
- Implementers
Constructors
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.
-
fetchConversationSilentMode(
{required String conversationId, required EMConversationType type}) → Future< ChatSilentModeResult> - ~english Gets the offline push settings of a conversation.
-
fetchPreferredNotificationLanguage(
) → Future< String?> - ~english Gets the preferred language for push notifications.
-
fetchPushConfigsFromServer(
) → Future< EMPushConfigs> - ~english Gets the push configurations from the server. ~end
-
fetchSilentModeForAll(
) → Future< ChatSilentModeResult> - ~english Gets the offline push settings at the app level for the current login user.
-
fetchSilentModeForConversations(
List< EMConversation> conversations) → Future<Map< String, ChatSilentModeResult> > - ~english Gets the offline push settings of specified conversations.
-
getPushTemplate(
) → Future< String?> - ~english Gets the template for offline push notifications.
-
initHandler(
) → void -
override
-
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.
-
setConversationSilentMode(
{required String conversationId, required EMConversationType type, required ChatSilentModeParam param}) → Future< void> - ~english Sets the push notifications for a conversation.
-
setPreferredNotificationLanguage(
String languageCode) → Future< void> - ~english Sets the preferred language for push notifications.
-
setPushTemplate(
String pushTemplateName) → Future< void> - ~english Sets the template for offline push notifications.
-
setSilentModeForAll(
{required ChatSilentModeParam param}) → Future< void> - ~english Sets the offline push settings at the app level for the current login user.
-
syncConversationsSilentMode(
) → Future< void> - ~english Get all conversations mute info from server.
-
toString(
) → String -
A string representation of this object.
inherited
-
updateAPNsDeviceToken(
String token) → Future< void> - ~english Updates the APNs push token.
-
updateFCMPushToken(
String token) → Future< void> - ~english Updates the FCM push token,
-
updateHMSPushToken(
String token) → Future< void> - ~english Updates the HMS push token.
-
updatePushDisplayStyle(
DisplayStyle displayStyle) → Future< void> - ~english Updates the push message display style. The default value is DisplayStyle.Simple.
-
updatePushNickname(
String nickname) → Future< void> - ~english Updates the push display nickname of the current user.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited