Struct xpcom::interfaces::nsIAudioChannelAgentCallback [] [src]

#[repr(C)]
pub struct nsIAudioChannelAgentCallback { /* fields omitted */ }

interface nsIAudioChannelAgentCallback : nsISupports

Methods

impl nsIAudioChannelAgentCallback
[src]

[src]

Cast this nsIAudioChannelAgentCallback to one of its base interfaces.

impl nsIAudioChannelAgentCallback
[src]

[src]

/**
   * Notified when the window volume/mute is changed
   */

void windowVolumeChanged (in float aVolume, in bool aMuted);

[src]

/**
   * Notified when the window needs to be suspended or resumed.
   */

void windowSuspendChanged (in uint32_t aSuspend);

[src]

/**
   * Notified when the capture state is changed.
   */

void windowAudioCaptureChanged (in bool aCapture);

Methods from Deref<Target = nsISupports>

[src]

Cast this nsISupports to one of its base interfaces.

[src]

void QueryInterface (in nsIIDRef uuid, [iid_is (uuid), retval] out nsQIResult result);

[src]

[noscript,notxpcom] nsrefcnt AddRef ();

[src]

[noscript,notxpcom] nsrefcnt Release ();

Trait Implementations

impl XpCom for nsIAudioChannelAgentCallback
[src]

IID: nsIID = nsID(364927124, 16526, 18328, [181, 39, 168, 195, 45, 156, 95, 140])

[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 nsIAudioChannelAgentCallback
[src]

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIAudioChannelAgentCallback
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.