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

addGeofenceReceiver() Future<void>
addInAppMessageReceiver() Future<void>
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>>
checkTcpStatus() Future<bool>
cleanTags() Future<Map<String, dynamic>>
clearAllNotification() Future<void>
clearBadge() Future<void>
clearLocalNotifications() Future<bool>
deleteAlias() Future<Map<String, dynamic>>
deleteGeofence(String id) Future<void>
deleteTags(List<String> tags) Future<Map<String, dynamic>>
getAlias() Future<Map<String, dynamic>>
getDeviceToken() Future<String>
getGeofenceStatus() Future<bool>
getRegistrationId() Future<Map<String, dynamic>>
getSDKVersion() Future<String>
getShowBadge() Future<bool>
getTags() Future<Map<String, dynamic>>
init(String appKey, String appSecret) Future<void>
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>
setBadgeCounts(int count) Future<void>
setClickNotificationToLaunchMainActivity(bool enable) Future<void>
setCustomNotification() Future<void>
setGeofenceStatus(bool isopen) 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>
setUserLanguage(String language) Future<void>
stopPush() Future<void>
updatePrivacyPermissionStatus(bool agree) Future<bool>