nsIMediaDevice.idl (731B)
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(d16af630-2fca-11ec-932f-0800200c9a66)] 9 interface nsIMediaDevice : nsISupports 10 { 11 readonly attribute AString type; 12 readonly attribute AString mediaSource; 13 readonly attribute AString rawId; 14 readonly attribute AString id; // anonymized and localized to the origin 15 readonly attribute boolean scary; 16 readonly attribute boolean canRequestOsLevelPrompt; 17 readonly attribute AString rawName; // unfiltered device name, from 1616661 18 };