Copy as Markdown
Other Tools
//
// DO NOT EDIT. THIS FILE IS GENERATED FROM $SRCDIR/dom/media/nsIMediaDevice.idl
//
{static D: &[Interface] = &[
Interface {
name: "nsIMediaDevice",
base: Some("nsISupports"),
sync: false,
methods: Ok(&[
/* readonly attribute AString type; */
Method {
name: "GetType",
params: &[Param { name: "aType", ty: "*mut ::nsstring::nsAString" }],
ret: "::nserror::nsresult",
},
/* readonly attribute AString mediaSource; */
Method {
name: "GetMediaSource",
params: &[Param { name: "aMediaSource", ty: "*mut ::nsstring::nsAString" }],
ret: "::nserror::nsresult",
},
/* readonly attribute AString rawId; */
Method {
name: "GetRawId",
params: &[Param { name: "aRawId", ty: "*mut ::nsstring::nsAString" }],
ret: "::nserror::nsresult",
},
/* readonly attribute AString id; */
Method {
name: "GetId",
params: &[Param { name: "aId", ty: "*mut ::nsstring::nsAString" }],
ret: "::nserror::nsresult",
},
/* readonly attribute boolean scary; */
Method {
name: "GetScary",
params: &[Param { name: "aScary", ty: "*mut bool" }],
ret: "::nserror::nsresult",
},
/* readonly attribute boolean canRequestOsLevelPrompt; */
Method {
name: "GetCanRequestOsLevelPrompt",
params: &[Param { name: "aCanRequestOsLevelPrompt", ty: "*mut bool" }],
ret: "::nserror::nsresult",
},
/* readonly attribute AString rawName; */
Method {
name: "GetRawName",
params: &[Param { name: "aRawName", ty: "*mut ::nsstring::nsAString" }],
ret: "::nserror::nsresult",
},
]),
},
]; D}