AirshipPush class

Constructors

AirshipPush(AirshipModule module)

Properties

activeNotifications Future<List<PushPayload>>
Gets all the active notifications for the application.
no setter
android AndroidPush
final
hashCode int
The hash code for this object.
no setterinherited
iOS IOSPush
final
isUserNotificationsEnabled Future<bool>
Tells if user notifications are enabled or not.
no setter
notificationStatus Future<PushNotificationStatus?>
Gets the notification status.
no setter
onNotificationResponse Stream<NotificationResponseEvent>
Gets notification response event stream.
no setter
onNotificationStatusChanged Stream<PushNotificationStatusChangedEvent>
Gets the push notification status changed event stream.
no setter
onPushReceived Stream<PushReceivedEvent>
Gets push received event stream.
no setter
onPushTokenReceived Stream<PushTokenReceivedEvent>
Gets push token received event stream.
no setter
registrationToken Future<String?>
Gets the registration token if generated.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

clearNotification(String notification) Future<void>
Clears a specific notification.
clearNotifications() Future<void>
Clears all notifications for the application.
enableUserNotifications() Future<bool?>
Enables user notifications.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setUserNotificationsEnabled(bool enabled) Future<void>
Enables or disables the user notifications.
toString() String
A string representation of this object.
inherited

Operators

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