QChatPushServicePlatform class abstract

Inheritance

Constructors

QChatPushServicePlatform()

Properties

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

Methods

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

Operators

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

Static Properties

instance QChatPushServicePlatform
getter/setter pair