| Package | sekati.events |
| Class | public class DeviceEvent |
| Inheritance | DeviceEvent flash.events.Event |
Camera and Microphone devices.
See also
| Property | Defined by | ||
|---|---|---|---|
| activating : Boolean [read-only]
Boolean representing whether the device is experiencing activity (true) or not (false). | DeviceEvent | ||
| activityLevel : Number [read-only]
The amount of activity the device is detecting.
| DeviceEvent | ||
| Method | Defined by | ||
|---|---|---|---|
|
DeviceEvent(type:String, activating:Boolean = false, activityLevel:Number = 0, bubbles:Boolean = true, cancelable:Boolean = false)
DeviceEvent Constructor
| DeviceEvent | ||
|
clone():Event
| DeviceEvent | ||
| Constant | Defined by | ||
|---|---|---|---|
| DEVICE_ACTIVITY : String = "deviceActivity" [static]
| DeviceEvent | ||
| DEVICE_AVAILABLE : String = "deviceAvailable" [static]
| DeviceEvent | ||
| DEVICE_BUSY : String = "deviceBusy" [static]
| DeviceEvent | ||
| DEVICE_MUTE : String = "deviceMute" [static]
| DeviceEvent | ||
| DEVICE_UNAVAILABLE : String = "deviceUnavilable" [static]
| DeviceEvent | ||
| DEVICE_UNMUTE : String = "deviceUnmute" [static]
| DeviceEvent | ||
| activating | property |
activating:Boolean [read-only]
Boolean representing whether the device is experiencing activity (true) or not (false).
public function get activating():Boolean
| activityLevel | property |
activityLevel:Number [read-only]
The amount of activity the device is detecting. Ranges from 0 (no activity
detected) to 100 (a large amount of activity detected).
public function get activityLevel():Number
| DeviceEvent | () | constructor |
public function DeviceEvent(type:String, activating:Boolean = false, activityLevel:Number = 0, bubbles:Boolean = true, cancelable:Boolean = false)DeviceEvent Constructor
Parameterstype:String |
|
activating:Boolean (default = false) |
|
activityLevel:Number (default = 0) |
|
bubbles:Boolean (default = true) |
|
cancelable:Boolean (default = false) |
| clone | () | method |
public override function clone():EventReturns
Event |
| DEVICE_ACTIVITY | constant |
public static const DEVICE_ACTIVITY:String = "deviceActivity"
| DEVICE_AVAILABLE | constant |
public static const DEVICE_AVAILABLE:String = "deviceAvailable"
| DEVICE_BUSY | constant |
public static const DEVICE_BUSY:String = "deviceBusy"
| DEVICE_MUTE | constant |
public static const DEVICE_MUTE:String = "deviceMute"
| DEVICE_UNAVAILABLE | constant |
public static const DEVICE_UNAVAILABLE:String = "deviceUnavilable"
| DEVICE_UNMUTE | constant |
public static const DEVICE_UNMUTE:String = "deviceUnmute"