Pushy class
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
Static Methods
-
clearBadge()
→ void
-
-
clearDeviceCredentials()
→ void
-
-
getAPNsToken()
→ Future<String>
-
-
getDeviceCredentials()
→ Future<Object?>
-
-
getFCMToken()
→ Future<String>
-
-
isIgnoringBatteryOptimizations()
→ Future<bool>
-
-
isRegistered()
→ Future<bool>
-
-
launchBatteryOptimizationsActivity()
→ void
-
-
listen()
→ void
-
-
notify(String title, String message, Map<String, dynamic> data)
→ void
-
-
register()
→ Future<String>
-
-
requestStoragePermission()
→ void
-
-
setAppId(String? id)
→ void
-
-
setCriticalAlertOption()
→ void
-
-
setCustomDeviceId(String deviceId)
→ void
-
-
setDeviceCredentials(Map credentials)
→ Future<String?>
-
-
setEnterpriseConfig(String? apiEndpoint, String? mqttEndpoint)
→ void
-
-
setHeartbeatInterval(int resourceName)
→ void
-
-
setJobServiceInterval(int resourceName)
→ void
-
-
setLocalPushConnectivityConfig(String endpoint, int port, int keepalive, List<String> ssids)
→ void
-
-
setNotificationClickListener(NotificationCallback fn)
→ void
-
-
setNotificationIcon(String resourceName)
→ void
-
-
setNotificationListener(NotificationCallback fn)
→ void
-
-
showInAppNotification(String title, String message, Map<String, dynamic> data)
→ void
-
-
subscribe(dynamic topics)
→ Future<void>
-
-
toggleAPNs(bool value)
→ void
-
-
toggleFCM(bool value)
→ void
-
-
toggleForegroundService(bool value)
→ void
-
-
toggleInAppBanner(bool value)
→ void
-
-
toggleMethodSwizzling(bool value)
→ void
-
-
toggleNotifications(bool value)
→ void
-
-
unsubscribe(dynamic topics)
→ Future<void>
-