Package | flash.permissions |
Class | public final class PermissionStatus |
Inheritance | PermissionStatus Object |
Language Version: | ActionScript 3.0 |
Runtime Versions: | AIR 24.0 |
Related API Elements
flash.media.Camera.permissionStatus
flash.media.Microphone.permissionStatus
flash.media.CameraRoll.permissionStatus
flash.media.CameraUI.permissionStatus
flash.filesystem.File.permissionStatus
flash.sensors.Geolocation.permissionStatus
flash.net.NetworkInfo.permissionStatus
flash.media.Microphone.permissionStatus
flash.media.CameraRoll.permissionStatus
flash.media.CameraUI.permissionStatus
flash.filesystem.File.permissionStatus
flash.sensors.Geolocation.permissionStatus
flash.net.NetworkInfo.permissionStatus
Public Properties
Public Methods
Public Constants
Constant | Defined By | ||
---|---|---|---|
DENIED : String = "denied" [static]
Specifies that the permission has been denied. | PermissionStatus | ||
GRANTED : String = "granted" [static]
Specifies that the permission has been granted. | PermissionStatus | ||
ONLY_WHEN_IN_USE : String = "onlyWhenInUse" [static]
Specifies that the permission has been granted only when App is in use. | PermissionStatus | ||
UNKNOWN : String = "unknown" [static]
Specifies that the permission hasn't been requested yet. | PermissionStatus |
Constant Detail
DENIED | Constant |
public static const DENIED:String = "denied"
Language Version: | ActionScript 3.0 |
Runtime Versions: | AIR 24.0 |
Specifies that the permission has been denied.
GRANTED | Constant |
public static const GRANTED:String = "granted"
Language Version: | ActionScript 3.0 |
Runtime Versions: | AIR 24.0 |
Specifies that the permission has been granted.
ONLY_WHEN_IN_USE | Constant |
public static const ONLY_WHEN_IN_USE:String = "onlyWhenInUse"
Language Version: | ActionScript 3.0 |
Runtime Versions: | AIR 29.0 |
Specifies that the permission has been granted only when App is in use.
UNKNOWN | Constant |
public static const UNKNOWN:String = "unknown"
Language Version: | ActionScript 3.0 |
Runtime Versions: | AIR 24.0 |
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
Thu Dec 6 2018, 01:12 PM -08:00