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
"While using the app".
"Only this time".
"Allow all the time" (background location on Android 10).
"Select photos and videos" (partial media access, Android 14).
"Deny & don't ask again" / "Don't allow" on a repeated request.
"Keep while app is in use": refuses an upgrade to background access.
"Keep only this time": refuses an upgrade of a one-time grant.
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.