ENotificationPlatformFCM class
- Inheritance
-
- Object
- ENotificationPlatformInterface
- ENotificationPlatformFCM
Constructors
Properties
-
backgroundNotificationMessageStream
↔ Stream<
ENotificationMessage> -
程序后台 收到的 消息流
getter/setter pairinherited-setteroverride-getter
- hashCode → int
-
The hash code for this object.
no setterinherited
-
notificationClickedStream
↔ Stream<
ENotificationMessage> -
程序后台 点击 Notification 之后产生的数据流
getter/setter pairinherited-setteroverride-getter
-
notificationMessageStream
↔ Stream<
ENotificationMessage> -
消息前台 收到的 消息流
getter/setter pairinherited-setteroverride-getter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
subscriptions
→ List<
String> -
final
-
tokenStream
↔ Stream<
String> -
设备 Token 消息流
getter/setter pairinherited-setteroverride-getter
Methods
-
close(
) → Future< void> -
关闭
override
-
getDeviceId(
) → Future< String> -
得到设备ID
下个版本将失效
override
-
init(
Map< String, dynamic> params) → Future<void> -
初始化参数
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
subscribe(
String topic) → Future< void> -
订阅 TOPIC
override
-
toENotification(
RemoteMessage event) → ENotificationMessage? -
toString(
) → String -
A string representation of this object.
inherited
-
unsubscribe(
String topic) → Future< void> -
取消订阅 TOPIC
override
-
unsubscribeAll(
) → Future< void> -
取消订阅所有
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited