ENotificationPlatformInterface class abstract

Properties

backgroundNotificationMessageStream Stream<ENotificationMessage>
程序后台 收到的 消息流
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
notificationClickedStream Stream<ENotificationMessage>
程序后台 点击 Notification 之后产生的数据流
getter/setter pair
notificationMessageStream Stream<ENotificationMessage>
消息前台 收到的 消息流
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tokenStream Stream<String>
设备 Token 消息流
getter/setter pair

Methods

close() Future<void>
关闭
getDeviceId() Future<String>
得到设备ID 下个版本将失效
getInitialMessage() Future<ENotificationMessage?>
得到初始化的消息
init(Map<String, dynamic> params) Future<void>
初始化参数
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
subscribe(String topic) Future<void>
订阅 TOPIC
toString() String
A string representation of this object.
inherited
unsubscribe(String topic) Future<void>
取消订阅 TOPIC
unsubscribeAll() Future<void>
取消订阅所有

Operators

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