QChatPushService class

圈组推送配置 仅支持Android 和 iOS

Annotations
  • @HawkEntryPoint()

Constructors

QChatPushService()
factory

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

enableAndroid(bool enable) Future<NIMResult<void>>
开启/关闭圈组第三方推送服务(仅Android) enable true 开启,SDK 需要与云信服务器做确认;false 关闭,SDK 也需要通知云信服务器。 只有与服务器交互完成后才算成功,如果出错,会有具体的错误代码。
getPushConfig() Future<NIMResult<QChatPushConfig>>
获取圈组推送设置
isEnableAndroid() Future<NIMResult<bool>>
是否开启了圈组第三方推送服务(仅Android)
isPushConfigExistAndroid() Future<NIMResult<bool>>
圈组是否存在推送配置。(仅Android)
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setPushConfig(QChatPushConfig param) Future<NIMResult<void>>
设置圈组推送配置
toString() String
A string representation of this object.
inherited

Operators

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