Interface PushNotificationStatus

Push notification status.

interface PushNotificationStatus {
    areNotificationsAllowed: boolean;
    isOptedIn: boolean;
    isPushPrivacyFeatureEnabled: boolean;
    isPushTokenRegistered: boolean;
    isUserNotificationsEnabled: boolean;
    isUserOptedIn: boolean;
}

Properties

areNotificationsAllowed: boolean

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

isOptedIn: boolean
isPushPrivacyFeatureEnabled: boolean

If the push feature is enabled on [Airship.privacyManager].

isPushTokenRegistered: boolean
isUserNotificationsEnabled: boolean

If user notifications are enabled on [Airship.push].

isUserOptedIn: boolean