summaryrefslogtreecommitdiffstats
path: root/dom/media/nsIDOMNavigatorUserMedia.idl
blob: af9972887c06b6731b29c9a2e852285d033d44ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* 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
};