(Beta)
Package | flash.events |
Class | public final class PermissionEvent |
Inheritance | PermissionEvent Event Object |
Public Properties
Property | Defined By | ||
---|---|---|---|
bubbles : Boolean [read-only]
Indicates whether an event is a bubbling event. | Event | ||
cancelable : Boolean [read-only]
Indicates whether the behavior associated with the event can be prevented. | Event | ||
constructor : Object
A reference to the class object or constructor function for a given object instance. | Object | ||
currentTarget : Object [read-only]
The object that is actively processing the Event object with an event listener. | Event | ||
eventPhase : uint [read-only]
The current phase in the event flow. | Event | ||
status : String [read-only]
Check whether the permission has been granted or denied. | PermissionEvent | ||
target : Object [read-only]
The event target. | Event | ||
type : String [read-only]
The type of event. | Event |
Public Methods
Method | Defined By | ||
---|---|---|---|
PermissionEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, status:String = "denied")
Creates an PermissionEvent object that contains information about the name of the permission and its status. | PermissionEvent | ||
[override]
Creates a copy of an PermissionEvent object and sets the value of each property to match that of
the original. | PermissionEvent | ||
A utility function for implementing the toString() method in custom
ActionScript 3.0 Event classes. | Event | ||
Indicates whether an object has a specified property defined. | Object | ||
Checks whether the preventDefault() method has been called on the event. | Event | ||
Indicates whether an instance of the Object class is in the prototype chain of the object specified
as the parameter. | Object | ||
Cancels an event's default behavior if that behavior can be canceled. | Event | ||
Indicates whether the specified property exists and is enumerable. | Object | ||
Sets the availability of a dynamic property for loop operations. | Object | ||
Prevents processing of any event listeners in the current node and any subsequent nodes in
the event flow. | Event | ||
Prevents processing of any event listeners in nodes subsequent to the current node in the
event flow. | Event | ||
Returns the string representation of this object, formatted according to locale-specific conventions. | Object | ||
[override]
Returns a string that contains all the properties of the PermissionEvent object. | PermissionEvent | ||
Returns the primitive value of the specified object. | Object |
Public Constants
Constant | Defined By | ||
---|---|---|---|
PERMISSION_STATUS : String = "permissionStatus" [static] | PermissionEvent |
Property Detail
status | property |
Constructor Detail
PermissionEvent | () | Constructor |
public function PermissionEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, status:String = "denied")
Language Version: | ActionScript 3.0 |
Runtime Versions: | AIR 24.0 |
Creates an PermissionEvent object that contains information about the name of the permission and its status.
Parameterstype:String | |
bubbles:Boolean (default = false )
| |
cancelable:Boolean (default = false )
| |
status:String (default = "denied ")
|
Method Detail
clone | () | method |
override public function clone():Event
Language Version: | ActionScript 3.0 |
Runtime Versions: | AIR 24.0 |
Creates a copy of an PermissionEvent object and sets the value of each property to match that of the original.
ReturnsEvent — A new PermissionEvent object with property values that match those of the original.
|
toString | () | method |
override public function toString():String
Language Version: | ActionScript 3.0 |
Runtime Versions: | AIR 24.0 |
Returns a string that contains all the properties of the PermissionEvent object. The following format is used:
[PermissionEvent type=value bubbles=value cancelable=value
permission=value status=value]
String — A string that contains all the properties of the PermissionEvent object.
|
Constant Detail
PERMISSION_STATUS | Constant |
public static const PERMISSION_STATUS:String = "permissionStatus"
Wed Nov 21 2018, 06:34 AM -08:00