Packagesekati.events
Classpublic class DeviceEvent
InheritanceDeviceEvent Inheritance flash.events.Event

DeviceEvent provides a base event for Camera and Microphone devices.

See also

sekati.media.CameraDevice
sekati.media.MicrophoneDevice


Public Properties
 PropertyDefined 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
Public Methods
 MethodDefined by
  
DeviceEvent(type:String, activating:Boolean = false, activityLevel:Number = 0, bubbles:Boolean = true, cancelable:Boolean = false)
DeviceEvent Constructor
DeviceEvent
  
clone():Event
DeviceEvent
Public Constants
 ConstantDefined 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
Property detail
activatingproperty
activating:Boolean  [read-only]

Boolean representing whether the device is experiencing activity (true) or not (false).

Implementation
    public function get activating():Boolean
activityLevelproperty 
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).

Implementation
    public function get activityLevel():Number
Constructor detail
DeviceEvent()constructor
public function DeviceEvent(type:String, activating:Boolean = false, activityLevel:Number = 0, bubbles:Boolean = true, cancelable:Boolean = false)

DeviceEvent Constructor

Parameters
type:String
 
activating:Boolean (default = false)
 
activityLevel:Number (default = 0)
 
bubbles:Boolean (default = true)
 
cancelable:Boolean (default = false)
Method detail
clone()method
public override function clone():Event

Returns
Event
Constant detail
DEVICE_ACTIVITYconstant
public static const DEVICE_ACTIVITY:String = "deviceActivity"

DEVICE_AVAILABLEconstant 
public static const DEVICE_AVAILABLE:String = "deviceAvailable"

DEVICE_BUSYconstant 
public static const DEVICE_BUSY:String = "deviceBusy"

DEVICE_MUTEconstant 
public static const DEVICE_MUTE:String = "deviceMute"

DEVICE_UNAVAILABLEconstant 
public static const DEVICE_UNAVAILABLE:String = "deviceUnavilable"

DEVICE_UNMUTEconstant 
public static const DEVICE_UNMUTE:String = "deviceUnmute"