dom/media/nsIDOMNavigatorUserMedia.idl
author Narcis Beleuzu <nbeleuzu@mozilla.com>
Tue, 20 Oct 2020 00:37:32 +0300
changeset 553448 e90233e0fe710a06566d5eb4711ca6743db37c14
parent 520793 98f0dd0b45cf207837b59909bec2e253af15fecd
permissions -rw-r--r--
Merge autoland to mozilla-central. a=merge

/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this file,
 * You can obtain one at http://mozilla.org/MPL/2.0/. */

#include "nsISupports.idl"
#include "nsIVariant.idl"

[scriptable, builtinclass, uuid(ba3b2e08-1c07-4cd3-8822-f4d7e35ff2ae)]
interface nsIMediaDevice : nsISupports
{
  readonly attribute AString type;
  readonly attribute AString name; // may have personal info filtered out
  readonly attribute AString id;
  readonly attribute AString mediaSource;
  readonly attribute AString rawId;
  readonly attribute AString groupId;
  readonly attribute AString rawGroupId;
  readonly attribute boolean scary;
  readonly attribute AString rawName; // unfiltered device name, from 1616661
};