flash.media

# MicrophoneEnhancedMode - AS3

Package | flash.media
Class | public final class MicrophoneEnhancedMode
Inheritance | MicrophoneEnhancedMode Object

Language Version: | ActionScript 3.0

Runtime Versions: | Flash Player 10.3, AIR 2.7

The MicrophoneEnhancedMode class is an enumeration of constant values used in setting the `mode` property of `MicrophoneEnhancedOptions` class.

Note: This feature is not available on iOS.

Related API Elements

flash.media.MicrophoneEnhancedOptions

Public Properties
Hide Inherited Public Properties
Show Inherited Public Properties

| Property | Defined By
--- | --- | ---
|  | constructor : Object A reference to the class object or constructor function for a given object instance. | Object

Public Methods
Hide Inherited Public Methods
Show Inherited Public Methods

| Method | Defined By
--- | --- | ---
|  | hasOwnProperty(name:String):Boolean Indicates whether an object has a specified property defined. | Object
|  | isPrototypeOf(theClass:Object):Boolean Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter. | Object
|  | propertyIsEnumerable(name:String):Boolean Indicates whether the specified property exists and is enumerable. | Object
|  | setPropertyIsEnumerable(name:String, isEnum:Boolean = true):void Sets the availability of a dynamic property for loop operations. | Object
|  | toLocaleString():String Returns the string representation of this object, formatted according to locale-specific conventions. | Object
|  | toString():String Returns the string representation of the specified object. | Object
|  | valueOf():Object Returns the primitive value of the specified object. | Object

Public Constants

| Constant | Defined By
--- | --- | ---
|  | FULL_DUPLEX : String = "fullDuplex" [static] Use this mode to allow both parties to talk at the same time. | MicrophoneEnhancedMode
|  | HALF_DUPLEX : String = "halfDuplex" [static] Use this mode for older and lower-quality speakers and microphones. | MicrophoneEnhancedMode
|  | HEADSET : String = "headset" [static] Use this mode when both parties are using headsets. | MicrophoneEnhancedMode
|  | OFF : String = "off" [static] All enhanced microphone functionality is off. | MicrophoneEnhancedMode
|  | SPEAKER_MUTE : String = "speakerMute" [static] Use this mode when the speaker is muted. | MicrophoneEnhancedMode

Constant Detail

### FULL_DUPLEX

Constant

`public static const FULL_DUPLEX:String = "fullDuplex"`

Language Version: | ActionScript 3.0

Runtime Versions: | Flash Player 10.3, AIR 2.7

Use this mode to allow both parties to talk at the same time. Acoustic echo cancellation operates in full-duplex mode. Full-duplex mode is the highest quality echo cancellation. This mode requires high-quality microphones and speakers and the most computing power. Do not use this mode with a USB microphone.

### HALF_DUPLEX

Constant

`public static const HALF_DUPLEX:String = "halfDuplex"`

Language Version: | ActionScript 3.0

Runtime Versions: | Flash Player 10.3, AIR 2.7

Use this mode for older and lower-quality speakers and microphones. Acoustic echo cancellation operates in half-duplex mode. In half-duplex mode, only one party can speak at a time. Half-duplex mode requires simpler processing than full-duplex mode. Half-duplex mode is the default mode for USB microphone devices.

If the application uses the default `enhancedOptions` setting and a USB mic, Flash Player automatically switches to `halfDuplex` mode. If the application uses the default `enhancedOptions` setting and the built-in microphone, Flash Player uses `fullDuplex` mode.

### HEADSET

Constant

`public static const HEADSET:String = "headset"`

Language Version: | ActionScript 3.0

Runtime Versions: | Flash Player 10.3, AIR 2.7

Use this mode when both parties are using headsets. Acoustic echo cancellation operates in low-echo mode. This mode requires the least amount of computing power.

### OFF

Constant

`public static const OFF:String = "off"`

Language Version: | ActionScript 3.0

Runtime Versions: | Flash Player 10.3, AIR 2.7

All enhanced microphone functionality is off.

### SPEAKER_MUTE

Constant

`public static const SPEAKER_MUTE:String = "speakerMute"`

Language Version: | ActionScript 3.0

Runtime Versions: | Flash Player 10.3, AIR 2.7

Use this mode when the speaker is muted. In this mode, acoustic echo cancellation is off.

© 2015 Adobe Systems Incorporated. All rights reserved.
Mon Apr 10 2017, 12:28 PM -07:00