WebIDLpedia

HTMLMicrophoneElement interface

Definition

Media Capture and Streams Extensions defines HTMLMicrophoneElement



[Exposed=Window]
interface HTMLMicrophoneElement : HTMLElement {
  [HTMLConstructor] constructor();

  readonly attribute MediaStreamTrack? track;
  readonly attribute DOMException? error;
  undefined setConstraints(optional MediaTrackConstraintSet constraints = {});

  attribute EventHandler ontrack;
  attribute EventHandler onerror;
  attribute EventHandler oncancel;
};

Methods and attributes that return objects implementing HTMLMicrophoneElement