1/* This Source Code Form is subject to the terms of the Mozilla Public 2 * License, v. 2.0. If a copy of the MPL was not distributed with this file, 3 * You can obtain one at http://mozilla.org/MPL/2.0/. */ 4 5#include "nsISupports.idl" 6#include "nsIVariant.idl" 7 8[scriptable, builtinclass, uuid(ba3b2e08-1c07-4cd3-8822-f4d7e35ff2ae)] 9interface nsIMediaDevice : nsISupports 10{ 11 readonly attribute AString type; 12 readonly attribute AString name; // may have personal info filtered out 13 readonly attribute AString id; 14 readonly attribute AString mediaSource; 15 readonly attribute AString rawId; 16 readonly attribute AString groupId; 17 readonly attribute AString rawGroupId; 18 readonly attribute boolean scary; 19 readonly attribute AString rawName; // unfiltered device name, from 1616661 20}; 21