WebIDLpedia

DeviceChangeEvent interface

Definition

Media Capture and Streams defines DeviceChangeEvent



[Exposed=Window]
interface DeviceChangeEvent : Event {
  constructor(DOMString type, optional DeviceChangeEventInit eventInitDict = {});
  [SameObject] readonly attribute FrozenArray<MediaDeviceInfo> devices;
  [SameObject] readonly attribute FrozenArray<MediaDeviceInfo> userInsertedDevices;
};

Methods and attributes that return objects implementing DeviceChangeEvent