Enumeration: AuthorizationStatus

An enum representing the notification authorization status for this app on the device.

Value is greater than 0 if authorized, compare against an exact status (e.g. PROVISIONAL) for a more granular status.

Enumeration Members

AUTHORIZED

AUTHORIZED: 1

The app is authorized to create notifications.

DENIED

DENIED: 0

The app is not authorized to create notifications.

NOT_DETERMINED

NOT_DETERMINED: -1

The app user has not yet chosen whether to allow the application to create notifications. Usually this status is returned prior to the first call of requestPermission.

Platform

ios

PROVISIONAL

PROVISIONAL: 2

The app is currently authorized to post non-interrupting user notifications

Platform

ios iOS >= 12