Packagesekati.media
Interfacepublic interface IDevice extends flash.events.IEventDispatcher
ImplementorsCameraDevice, MicrophoneDevice

IDevice provides a common interface for all user devices.



Public Properties
 PropertyDefined by
  activityLevel : Number
[read-only] The amount of activity the device is detecting.
IDevice
  deviceIndex : int
[read-only] The index of the currently active device driver.
IDevice
  deviceName : String
[read-only] The name of the currently connected device driver.
IDevice
  devices : Array
[read-only] The list of available device drivers.
IDevice
  loopback : Boolean
Set the Device loopback.
IDevice
  muted : Boolean
[read-only] Indicates whether the user has denied access to the device (true) or allowed access (false) in the Flash Player Privacy dialog box.
IDevice
  timeout : int
The number of milliseconds which must elapse without activity to invoke the activity event.
IDevice
Public Methods
 MethodDefined by
  
pollDevice():void
Request access to the IDevice from the user.
IDevice
Property detail
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
deviceIndexproperty 
deviceIndex:int  [read-only]

The index of the currently active device driver.

Implementation
    public function get deviceIndex():int
deviceNameproperty 
deviceName:String  [read-only]

The name of the currently connected device driver.

Implementation
    public function get deviceName():String
devicesproperty 
devices:Array  [read-only]

The list of available device drivers.

Implementation
    public function get devices():Array
loopbackproperty 
loopback:Boolean  [read-write]

Set the Device loopback.

Implementation
    public function get loopback():Boolean
    public function set loopback(value:Boolean):void
mutedproperty 
muted:Boolean  [read-only]

Indicates whether the user has denied access to the device (true) or allowed access (false) in the Flash Player Privacy dialog box.

Implementation
    public function get muted():Boolean
timeoutproperty 
timeout:int  [read-write]

The number of milliseconds which must elapse without activity to invoke the activity event.

Implementation
    public function get timeout():int
    public function set timeout(value:int):void
Method detail
pollDevice()method
public function pollDevice():void

Request access to the IDevice from the user.