Struct xpcom::interfaces::nsINotificationStorageCallback [] [src]

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

interface nsINotificationStorageCallback : nsISupports

Methods

impl nsINotificationStorageCallback
[src]

[src]

Cast this nsINotificationStorageCallback to one of its base interfaces.

impl nsINotificationStorageCallback
[src]

[src]

/**
   * Callback function used to pass single notification back
   * into C++ land for Notification.get return data.
   *
   * @param id: a uuid for this notification
   * @param title: the notification title
   * @param dir: the notification direction,
   *             possible values are "ltr", "rtl", "auto"
   * @param lang: the notification language
   * @param body: the notification body
   * @param tag: the notification tag
   */

void handle (in DOMString id, in DOMString title, in DOMString dir, in DOMString lang, in DOMString body, in DOMString tag, in DOMString icon, in DOMString data, in DOMString behavior, in DOMString serviceWorkerRegistrationScope);

[src]

/**
   * Callback function used to notify C++ the we have returned
   * all notification objects for this Notification.get call.
   */

void done ();

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

IID: nsIID = nsID(3244433970, 9628, 17328, [181, 46, 137, 195, 157, 205, 151, 150])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsINotificationStorageCallback
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.