Package | sekati.media |
Interface | public interface IDevice extends flash.events.IEventDispatcher |
Implementors | CameraDevice, MicrophoneDevice |
Property | Defined 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 |
Method | Defined by | ||
---|---|---|---|
pollDevice():void
Request access to the
IDevice from the user. | IDevice |
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
deviceIndex | property |
deviceIndex:int
[read-only]
The index
of the currently active device driver.
public function get deviceIndex():int
deviceName | property |
deviceName:String
[read-only]The name of the currently connected device driver.
Implementation public function get deviceName():String
devices | property |
devices:Array
[read-only]The list of available device drivers.
Implementation public function get devices():Array
loopback | property |
loopback:Boolean
[read-write]Set the Device loopback.
Implementation public function get loopback():Boolean
public function set loopback(value:Boolean):void
muted | property |
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.
public function get muted():Boolean
timeout | property |
timeout:int
[read-write]
The number of milliseconds which must elapse without activity to invoke the activity
event.
public function get timeout():int
public function set timeout(value:int):void
pollDevice | () | method |
public function pollDevice():void
Request access to the IDevice
from the user.