Name

microphone

Synopsis

LZX: microphone
JavaScript: microphone
Type: Class
Access: public
Topic: Extensions.Audio-Video
Declared in: lps/components/extensions/av/microphone.lzx

Superclass Chain

node (LzNode) » mediadevice » microphone

Known Subclasses

Details

Properties (2)

level
<attribute name="level" type="number" value="0" />
public read-only var level : Number;
Audio level, 0-100, the amount of sound detected by this microphone. Reset to 0 when there is no audio (no activity or not allowed).
stream
<attribute name="stream" value="null" />
public var stream;
Mediastream to associate with the microphone, for audio recording.

Methods (1)

startDevice()
<method name="startDevice" />
public function startDevice();
Start the microphone.

LZX Synopsis

<class name="microphone" extends=" mediadevice ">
  <attribute name=" level " type="number" value="0" />
  <attribute name=" stream " value="null" />
  <method name=" startDevice " />
</class>

JavaScript Synopsis

public microphone extends  mediadevice  {
  public read-only var level  : Number;
  public var stream ;
  prototype public function startDevice ();
}