| Package | vegas.media |
| Class | public class MicrophoneVO |
| Inheritance | MicrophoneVO SimpleValueObject Object |
| Property | Defined By | ||
|---|---|---|---|
![]() | id : *
Indicates the id of this ValueObject. | SimpleValueObject | |
| loopBack : Boolean = true
Routes audio captured by a microphone to the local speakers. | MicrophoneVO | ||
| rate : Number = 11
The rate at which the microphone captures sound, in kHz. | MicrophoneVO | ||
| silenceLevel : Number
The amount of sound required to activate the microphone and dispatch the activity event. | MicrophoneVO | ||
| silenceTimeout : Number
The number of milliseconds between the time the microphone stops detecting sound and the time the activity event is dispatched. | MicrophoneVO | ||
| useEchoSuppression : Boolean
Set to true if echo suppression is enabled; false otherwise. | MicrophoneVO | ||
| Method | Defined By | ||
|---|---|---|---|
MicrophoneVO(init:Object = null)
Creates a new MicrophoneVO instance. | MicrophoneVO | ||
apply(micro:Microphone):void
Apply this value object in the specified Microphone reference. | MicrophoneVO | ||
![]() | equals(o:*):Boolean
Compares the specified object with this object for equality. | SimpleValueObject | |
![]() | formatToString(className:String = null, ... args):String
A utility function for implementing the toString() method. | SimpleValueObject | |
register(aliasName:String = MicrophoneVO):void [static]
Preserves the class (type) of an object when the object is encoded in Action Message Format (AMF). | MicrophoneVO | ||
toObject():Object [override]
Returns the Object representation of this object. | MicrophoneVO | ||
![]() | toSource(indent:int = 0):String
Returns the source code string representation of the object. | SimpleValueObject | |
toString():String [override]
Returns the String representation of this object. | MicrophoneVO | ||
| loopBack | property |
public var loopBack:Boolean = trueRoutes audio captured by a microphone to the local speakers.
| rate | property |
public var rate:Number = 11The rate at which the microphone captures sound, in kHz.
| silenceLevel | property |
public var silenceLevel:NumberThe amount of sound required to activate the microphone and dispatch the activity event.
| silenceTimeout | property |
public var silenceTimeout:NumberThe number of milliseconds between the time the microphone stops detecting sound and the time the activity event is dispatched.
| useEchoSuppression | property |
public var useEchoSuppression:BooleanSet to true if echo suppression is enabled; false otherwise.
| MicrophoneVO | () | Constructor |
public function MicrophoneVO(init:Object = null)Creates a new MicrophoneVO instance.
Parametersinit:Object (default = null) — A generic object containing properties with which to populate the newly instance. If this argument is null, it is ignored.
|
| apply | () | method |
public function apply(micro:Microphone):voidApply this value object in the specified Microphone reference.
Parameters
micro:Microphone |
| register | () | method |
public static function register(aliasName:String = MicrophoneVO):voidPreserves the class (type) of an object when the object is encoded in Action Message Format (AMF).
Parameters
aliasName:String (default = MicrophoneVO) |
| toObject | () | method |
override public function toObject():Object
Returns the Object representation of this object.
Object — the Object representation of this object.
|
| toString | () | method |
override public function toString():String
Returns the String representation of this object.
String — the String representation of this object.
|