Struct xpcom::interfaces::nsIDOMOfflineResourceList [] [src]

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

interface nsIDOMOfflineResourceList : nsISupports

Methods

impl nsIDOMOfflineResourceList
[src]

[src]

Cast this nsIDOMOfflineResourceList to one of its base interfaces.

impl nsIDOMOfflineResourceList
[src]

UNCACHED: i64 = 0
/**
   * State of the application cache this object is associated with.
   */

IDLE: i64 = 1

CHECKING: i64 = 2

DOWNLOADING: i64 = 3

UPDATEREADY: i64 = 4

OBSOLETE: i64 = 5

[src]

/**
   * Get the list of dynamically-managed entries.
   */

readonly attribute nsISupports mozItems;

[src]

/**
   * Check that an entry exists in the list of dynamically-managed entries.
   *
   * @param uri
   *        The resource to check.
   */

boolean mozHasItem (in DOMString uri);

[src]

/**
   * Get the number of dynamically-managed entries.
   * @status DEPRECATED
   *         Clients should use the "items" attribute.
   */

readonly attribute unsigned long mozLength;

[src]

/**
   * Get the URI of a dynamically-managed entry.
   * @status DEPRECATED
   *         Clients should use the "items" attribute.
   */

DOMString mozItem (in unsigned long index);

[src]

/**
   * Add an item to the list of dynamically-managed entries.  The resource
   * will be fetched into the application cache.
   *
   * @param uri
   *        The resource to add.
   */

void mozAdd (in DOMString uri);

[src]

/**
   * Remove an item from the list of dynamically-managed entries.  If this
   * was the last reference to a URI in the application cache, the cache
   * entry will be removed.
   *
   * @param uri
   *        The resource to remove.
   */

void mozRemove (in DOMString uri);

[src]

readonly attribute unsigned short status;

[src]

/**
   * Begin the application update process on the associated application cache.
   */

void update ();

[src]

/**
   * Swap in the newest version of the application cache, or disassociate
   * from the cache if the cache group is obsolete.
   */

void swapCache ();

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

IID: nsIID = nsID(1615097901, 58537, 16908, [183, 17, 85, 139, 125, 106, 59, 159])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIDOMOfflineResourceList
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.