Notification Permission Request Result
Enum to details the result of requesting the POST_NOTIFICATIONS
permission for the app. This permission is required to send push notifications to apps that are running Android 13(T)+.
Entries
Push notification permission has already been granted for the app - no request was required.
The user has previously denied push permission for the app and an activity explaining the need for push notifications should be shown before making the permissions request. If this activity is already being displayed then Marigold.requestNotificationPermission should be called with isRationaleActivity
set to true
.
The POST_NOTIFICATIONS
permission was requested for the app. This will display a popup to the user, the outcome of which can be handled in the calling activity's Activity.onRequestPermissionsResult implementation.
The device Android version does not require the push notification permission.
Properties
Functions
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Returns an array containing the constants of this enum type, in the order they're declared.