Struct xpcom::interfaces::nsISpeechTaskCallback [] [src]

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

interface nsISpeechTaskCallback : nsISupports

/**
 * A callback is implemented by the service.
 */

Methods

impl nsISpeechTaskCallback
[src]

[src]

Cast this nsISpeechTaskCallback to one of its base interfaces.

impl nsISpeechTaskCallback
[src]

[src]

/**
   * The user or application has paused the speech.
   */

void onPause ();

[src]

/**
   * The user or application has resumed the speech.
   */

void onResume ();

[src]

/**
   * The user or application has canceled the speech.
   */

void onCancel ();

[src]

/**
   * The user or application has changed the volume of this speech.
   */

void onVolumeChanged (in float aVolume);

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

IID: nsIID = nsID(3312901644, 35389, 17776, [190, 126, 152, 118, 211, 229, 190, 210])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsISpeechTaskCallback
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.