Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

Revision 1088917 of devicechange

  • Revision slug: Web/Events/devicechange
  • Revision title: devicechange
  • Revision id: 1088917
  • Created:
  • Creator: jpmedley
  • Is current revision? No
  • Comment

Revision Content

The devicechange handler is executed whenever a media device such as a camera, microphone, or speaker is connected or removed from the system.

General info

Specification
{{SpecName('Media Capture')}}
Interface
Event
Bubbles
No
Cancelable
No
Target
{{domxref('MediaDevices')}}
Default Action
None

Properties

{{OpenEventProperties()}}{{CloseEventProperties()}}

TBD

Revision Source

<p>The <code>devicechange</code> handler is executed whenever a&nbsp;media device such as a camera, microphone, or speaker is connected or removed from the system.</p>

<h2 id="General_info">General info</h2>

<dl>
 <dt style="clear: left; float: left; text-align: right; width: 120px;">Specification</dt>
 <dd style="margin: 0 0 0 120px;">{{SpecName('Media Capture')}}</dd>
 <dt style="clear: left; float: left; text-align: right; width: 120px;">Interface</dt>
 <dd style="margin: 0 0 0 120px;">Event</dd>
 <dt style="clear: left; float: left; text-align: right; width: 120px;">Bubbles</dt>
 <dd style="margin: 0 0 0 120px;">No</dd>
 <dt style="clear: left; float: left; text-align: right; width: 120px;">Cancelable</dt>
 <dd style="margin: 0 0 0 120px;">No</dd>
 <dt style="clear: left; float: left; text-align: right; width: 120px;">Target</dt>
 <dd style="margin: 0 0 0 120px;">{{domxref('MediaDevices')}}</dd>
 <dt style="clear: left; float: left; text-align: right; width: 120px;">Default Action</dt>
 <dd style="margin: 0 0 0 120px;">None</dd>
</dl>

<h2 id="Properties">Properties</h2>

<p>{{OpenEventProperties()}}{{CloseEventProperties()}}</p>

<h2 id="Related_Events">Related Events</h2>

<p>TBD</p>
Revert to this revision