Struct xpcom::interfaces::nsIPresentationSessionListener [] [src]

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

interface nsIPresentationSessionListener : nsISupports

Methods

impl nsIPresentationSessionListener
[src]

[src]

Cast this nsIPresentationSessionListener to one of its base interfaces.

impl nsIPresentationSessionListener
[src]

STATE_CONNECTING: i64 = 0

STATE_CONNECTED: i64 = 1

STATE_CLOSED: i64 = 2

STATE_TERMINATED: i64 = 3

[src]

void notifyStateChange (in DOMString sessionId, in unsigned short state, in nsresult reason);

[src]

void notifyMessage (in DOMString sessionId, in ACString data, in boolean isBinary);

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

IID: nsIID = nsID(2111081976, 36748, 18631, [172, 55, 123, 159, 209, 172, 242, 248])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIPresentationSessionListener
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.