PermissionChoice

A button of the runtime-permission dialog, by what it grants (Device.awaitPermissionPrompt, Device.choosePermission). Which ones a dialog offers depends on the permission, the Android version and the device's permission controller.

Entries

Link copied to clipboard

"Allow".

Link copied to clipboard

"While using the app".

Link copied to clipboard

"Only this time".

Link copied to clipboard

"Allow all the time" (background location on Android 10).

Link copied to clipboard

"Select photos and videos" (partial media access, Android 14).

Link copied to clipboard

"Allow all" (media, Android 14).

Link copied to clipboard

"Don't allow" / "Deny".

Link copied to clipboard

"Deny & don't ask again" / "Don't allow" on a repeated request.

Link copied to clipboard

"Keep while app is in use": refuses an upgrade to background access.

Link copied to clipboard

"Keep only this time": refuses an upgrade of a one-time grant.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

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.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.