MobpushPlugin class

Constructors

MobpushPlugin()

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

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

getPlatformVersion Future<String>
no setter

Static Methods

addLocalNotification(MobPushLocalNotification localNotification) Future<void>
addPushReceiver(EventHandler onEvent, EventHandler onError) Future<void>
addTags(List<String> tags) Future<Map<String, dynamic>>
bindPhoneNum(String phoneNum) Future<Map<String, dynamic>>
cleanTags() Future<Map<String, dynamic>>
clearBadge() Future<void>
clearLocalNotifications() Future<bool>
deleteAlias() Future<Map<String, dynamic>>
deleteTags(List<String> tags) Future<Map<String, dynamic>>
getAlias() Future<Map<String, dynamic>>
getRegistrationId() Future<Map<String, dynamic>>
getSDKVersion() Future<String>
getTags() Future<Map<String, dynamic>>
isPushStopped() Future<bool>
registerApp(String appKey, String appSecret) Future<void>
removeLocalNotification(int notificationId) Future<bool>
removePushReceiver() Future<void>
restartPush() Future<void>
send(int type, String content, int space, String extras) Future<Map<String, dynamic>>
setAlias(String alias) Future<Map<String, dynamic>>
setAPNsForProduction(bool isPro) Future<void>
setAPNsShowForegroundType(int type) Future<void>
setAppForegroundHiddenNotification(bool hidden) Future<void>
setBadge(int badge) Future<void>
setClickNotificationToLaunchMainActivity(bool enable) Future<void>
setCustomNotification() Future<void>
setNotifyIcon(String resId) Future<void>
setRegionId(int regionId) Future<void>
setShowBadge(bool show) Future<void>
setSilenceTime(int startHour, int startMinute, int endHour, int endMinute) Future<void>
stopPush() Future<void>
updatePrivacyPermissionStatus(bool agree) Future<bool>