PushNotificationStatus

class PushNotificationStatus(val isUserNotificationsEnabled: Boolean, val areNotificationsAllowed: Boolean, val isPushPrivacyFeatureEnabled: Boolean, val isPushTokenRegistered: Boolean)

A snapshot of the Airship push notification status.

Constructors

Link copied to clipboard
constructor(isUserNotificationsEnabled: Boolean, areNotificationsAllowed: Boolean, isPushPrivacyFeatureEnabled: Boolean, isPushTokenRegistered: Boolean)

Properties

Link copied to clipboard

If notifications are allowed at the system level for the application.

Link copied to clipboard

Checks if isUserOptedIn and isPushTokenRegistered is enabled.

Link copied to clipboard

If the PrivacyManager#FEATURE_PUSH is enabled.

Link copied to clipboard

If push registration was able to generate a token.

Link copied to clipboard

If user notifications are enabled on PushManager.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String