EMPushManager class Null safety
The message push configuration options.
Constructors
Properties
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
disableOfflinePush(
{required int start, required int end}) → Future< void> - Do not push the offline messages within the specified time period (24-hour clock). [...]
-
enableOfflinePush(
) → Future< void> - Turns on the push notification. [...]
-
fetchPushConfigsFromServer(
) → Future< EMPushConfigs> - Gets the push configurations from the server.
-
getImPushConfig(
) → Future< EMPushConfigs> -
Gets push options from the local database.
@Deprecated('use - getPushConfigsFromCache method instead.')
-
getImPushConfigFromServer(
) → Future< EMPushConfigs> -
Gets push options from the server.
@Deprecated('use - getPushConfigsFromServer method instead.')
-
getNoPushGroupsFromCache(
) → Future< List< String> > - Gets the list of groups which have blocked the push notification. [...]
-
getNoPushUsersFromCache(
) → Future< List< String> > - Gets the list of users which have blocked the push notification. [...]
-
getPushConfigsFromCache(
) → Future< EMPushConfigs?> -
getPushConfigsFromServer(
) → Future< EMPushConfigs> -
Gets the push configurations from the server.
@Deprecated('use - fetchPushConfigsFromServer method instead.')
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
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 style. The default value is {@link DisplayStyle#Simple}. [...]
-
updatePushNickname(
String nickname) → Future< void> - Updates the push display nickname of the current user. [...]
-
updatePushServiceForGroup(
{required List< String> groupIds, required bool enablePush}) → Future<void> - Sets whether to turn on or turn off the push notification for the the specified groups. [...]
-
updatePushServiceFroUsers(
{required List< String> userIds, required bool enablePush}) → Future<void> - Sets whether to turn on or turn off the push notification for the the specified users. [...]
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited