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.

Members

AUTHORIZED

The app is authorized to create notifications.

DENIED

The app is not authorized to create notifications.

NOT_DETERMINED

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.

PROVISIONAL

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


Copyright 2020 - 2021 © Invertase Limited

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 3.0 License and code samples are licensed under the Apache 2.0 License.

All product names, logos, and brands are property of their respective owners. All company, product and service names used in this website are for identification purposes only. Use of these names, logos, and brands does not imply endorsement.