Struct xpcom::interfaces::nsIDownloadProgressListener [] [src]

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

interface nsIDownloadProgressListener : nsISupports

Methods

impl nsIDownloadProgressListener
[src]

[src]

Cast this nsIDownloadProgressListener to one of its base interfaces.

impl nsIDownloadProgressListener
[src]

[src]

/**
  * document
  * The document of the download manager frontend.
  */

attribute nsIDOMDocument document;

[src]

/**
  * document
  * The document of the download manager frontend.
  */

attribute nsIDOMDocument document;

[src]

/**
  * Dispatched whenever the state of the download changes.
  *
  * @param aState The previous download sate.
  * @param aDownload The download object.
  * @see nsIDownloadManager for download states.
  */

void onDownloadStateChange (in short aState, in nsIDownload aDownload);

[src]

void onStateChange (in nsIWebProgress aWebProgress, in nsIRequest aRequest, in unsigned long aStateFlags, in nsresult aStatus, in nsIDownload aDownload);

[src]

void onProgressChange (in nsIWebProgress aWebProgress, in nsIRequest aRequest, in long long aCurSelfProgress, in long long aMaxSelfProgress, in long long aCurTotalProgress, in long long aMaxTotalProgress, in nsIDownload aDownload);

[src]

void onSecurityChange (in nsIWebProgress aWebProgress, in nsIRequest aRequest, in unsigned long aState, in nsIDownload aDownload);

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

IID: nsIID = nsID(2060126186, 51906, 19477, [163, 173, 35, 170, 167, 137, 237, 81])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIDownloadProgressListener
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.