MethodChannelMipush class

An implementation of MipushPlatform that uses method channels.

Inheritance

Constructors

MethodChannelMipush()

Properties

eventChannel → EventChannel
final
hashCode → int
The hash code for this object.
no setterinherited
methodChannel → MethodChannel
The method channel used to interact with the native platform.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

events() → Stream<Map<String, dynamic>>
override
getInitialNotification() → Future<Map<String, Object>?>
override
getRegId() → Future<String?>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pausePush() → Future<void>
override
registerPush({required String appId, required String appKey}) → Future<void>
override
resumePush() → Future<void>
override
setAcceptTime({required int startHour, required int startMinute, required int endHour, required int endMinute, String? category}) → Future<void>
override
setAlias(String alias, {String? category}) → Future<void>
override
setUserAccount(String account, {String? category}) → Future<void>
override
subscribe(String topic, {String? category}) → Future<void>
override
toString() → String
A string representation of this object.
inherited
unregisterPush() → Future<void>
override
unsetAlias(String alias, {String? category}) → Future<void>
override
unsetUserAccount(String account, {String? category}) → Future<void>
override
unsubscribe(String topic, {String? category}) → Future<void>
override

Operators

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