Struct xpcom::interfaces::nsIMediaManagerService
[−]
[src]
#[repr(C)]pub struct nsIMediaManagerService { /* fields omitted */ }
interface nsIMediaManagerService : nsISupports
Methods
impl nsIMediaManagerService
[src]
pub fn coerce<T: nsIMediaManagerServiceCoerce>(&self) -> &T
[src]
Cast this nsIMediaManagerService
to one of its base interfaces.
impl nsIMediaManagerService
[src]
pub unsafe fn GetActiveMediaCaptureWindows(
&self,
aActiveMediaCaptureWindows: *mut *const nsIArray
) -> nsresult
[src]
&self,
aActiveMediaCaptureWindows: *mut *const nsIArray
) -> nsresult
readonly attribute nsIArray activeMediaCaptureWindows;
pub unsafe fn MediaCaptureWindowState(
&self,
aWindow: *const nsIDOMWindow,
aVideo: *mut bool,
aAudio: *mut bool,
aScreenShare: *mut bool,
aWindowShare: *mut bool,
aAppShare: *mut bool,
aBrowserShare: *mut bool
) -> nsresult
[src]
&self,
aWindow: *const nsIDOMWindow,
aVideo: *mut bool,
aAudio: *mut bool,
aScreenShare: *mut bool,
aWindowShare: *mut bool,
aAppShare: *mut bool,
aBrowserShare: *mut bool
) -> nsresult
void mediaCaptureWindowState (in nsIDOMWindow aWindow, out boolean aVideo, out boolean aAudio, [optional] out boolean aScreenShare, [optional] out boolean aWindowShare, [optional] out boolean aAppShare, [optional] out boolean aBrowserShare);
pub unsafe fn SanitizeDeviceIds(&self, sinceWhen: int64_t) -> nsresult
[src]
void sanitizeDeviceIds (in long long sinceWhen);
Methods from Deref<Target = nsISupports>
pub fn coerce<T: nsISupportsCoerce>(&self) -> &T
[src]
Cast this nsISupports
to one of its base interfaces.
pub unsafe fn QueryInterface(
&self,
uuid: &nsIID,
result: *mut *mut c_void
) -> nsresult
[src]
&self,
uuid: &nsIID,
result: *mut *mut c_void
) -> nsresult
void QueryInterface (in nsIIDRef uuid, [iid_is (uuid), retval] out nsQIResult result);
pub unsafe fn AddRef(&self) -> nsrefcnt
[src]
[noscript,notxpcom] nsrefcnt AddRef ();
pub unsafe fn Release(&self) -> nsrefcnt
[src]
[noscript,notxpcom] nsrefcnt Release ();
Trait Implementations
impl XpCom for nsIMediaManagerService
[src]
const IID: nsIID
IID: nsIID = nsID(615661057, 13309, 16415, [186, 37, 110, 82, 101, 135, 80, 176])
fn query_interface<T: XpCom>(&self) -> Option<RefPtr<T>>
[src]
Perform a QueryInterface call on this object, attempting to dynamically cast it to the requested interface type. Returns Some(RefPtr) if the cast succeeded, and None otherwise. Read more
impl RefCounted for nsIMediaManagerService
[src]
unsafe fn addref(&self)
[src]
Increment the reference count.
unsafe fn release(&self)
[src]
Decrement the reference count, potentially freeing backing memory.
impl Deref for nsIMediaManagerService
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.