PromptPermissionAction
An action that prompts for permission.
Expected value:
permission: post_notifications, contacts, bluetooth, location, media, mic, or camera
fallback_system_settings:
trueto navigate to app settings if the permission is silently denied.allow_airship_usage: If the permission is granted, any Airship features that depend on the permission will be enabled as well, e.g., enable user notifications on PushManager and push feature on privacy Manager if notifications are allowed.
Accepted situations: Action.Situation.PUSH_OPENED, Action.Situation.WEB_VIEW_INVOCATION, Action.Situation.MANUAL_INVOCATION, Action.Situation.AUTOMATION, and Action.Situation.FOREGROUND_NOTIFICATION_ACTION_BUTTON.
Default Result: empty. The actual permission result can be received using a ResultReceiver in the metadata.
Default Registration Name: DEFAULT_NAMES
Inheritors
Types
Functions
Called before an action is performed to determine if the the action can accept the arguments.
Performs the action.
Determines which thread runs the action.