View source
enum abstract PermissionStatus(Null<Int>)
package openfl.permissions
Available on all platforms
The PermissionStatus class is an enumeration of constant values that specify the authorization status of a permission.
Variables
inlineread onlyONLY_WHEN_IN_USE:PermissionStatus = 2
Specifies that the permission has been granted only when the app is in use.
inlineread onlyUNKNOWN:PermissionStatus = 3
Specifies that the permission hasn't been requested yet.
NOTE: On Android, permissionStatus
will return UNKNOWN
if permission
was denied with "Never ask again" option checked.