ZPNs class abstract

Constructors

ZPNs()

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

addLocalNotification(ZPNsLocalMessage message) Future<void>
iOS only Available since: 2.2.0 or later.
applyNotificationPermission() Future<void>
iOS only Available since: 2.1.0 or later.
createNotificationChannel(ZPNsNotificationChannel channel) Future<void>
Android only
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
registerPush({ZPNsIOSEnvironment iOSEnvironment, ZPNsIOSNotificationArrivedConfig iOSNotificationArrivedConfig, bool enableIOSVoIP, ZPNsWebConfig webConfig}) Future<void>
Available since: 2.1.0 or later.
setLocalBadge(int badge) Future<void>
Available since: ZPNs version 2.6.0 or later.
setServerBadge(int badge) Future<void>
iOS only Available since:ZPNs version 2.6.0 or later.
toString() String
A string representation of this object.
inherited
unregisterPush() Future<void>
Available since: 2.5.0 or later.

Operators

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

Static Methods

enableDebug(bool debug) → dynamic
Android only Available since: 2.1.0 or later.
getInstance() ZPNs
Available since: 2.1.0 or later.
getVersion() Future<String>
Available since: 2.1.0.
setBackgroundMessageHandler(ZPNsBackgroundMessageHandler handler) → dynamic
setPushConfig(ZPNsConfig config) → dynamic
Android only Available since: 2.1.0 or later.