Struct xpcom::interfaces::nsIPresentationService [] [src]

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

interface nsIPresentationService : nsISupports

Methods

impl nsIPresentationService
[src]

[src]

Cast this nsIPresentationService to one of its base interfaces.

impl nsIPresentationService
[src]

ROLE_CONTROLLER: i64 = 1

ROLE_RECEIVER: i64 = 2

CLOSED_REASON_ERROR: i64 = 1

CLOSED_REASON_CLOSED: i64 = 2

CLOSED_REASON_WENTAWAY: i64 = 3

[src]

void sendSessionMessage (in DOMString sessionId, in uint8_t role, in DOMString data);

[src]

void sendSessionBinaryMsg (in DOMString sessionId, in uint8_t role, in ACString data);

[src]

void sendSessionBlob (in DOMString sessionId, in uint8_t role, in nsIDOMBlob blob);

[src]

void closeSession (in DOMString sessionId, in uint8_t role, in uint8_t closedReason);

[src]

void terminateSession (in DOMString sessionId, in uint8_t role);

[src]

void registerSessionListener (in DOMString sessionId, in uint8_t role, in nsIPresentationSessionListener listener);

[src]

void unregisterSessionListener (in DOMString sessionId, in uint8_t role);

[src]

void registerRespondingListener (in unsigned long long windowId, in nsIPresentationRespondingListener listener);

[src]

void unregisterRespondingListener (in unsigned long long windowId);

[src]

void notifyReceiverReady (in DOMString sessionId, in unsigned long long windowId, in boolean isLoading, in nsIPresentationTransportBuilderConstructor constructor);

[src]

void NotifyTransportClosed (in DOMString sessionId, in uint8_t role, in nsresult reason);

[src]

void untrackSessionInfo (in DOMString sessionId, in uint8_t role);

[src]

unsigned long long getWindowIdBySessionId (in DOMString sessionId, in uint8_t role);

[src]

void updateWindowIdBySessionId (in DOMString sessionId, in uint8_t role, in unsigned long long windowId);

[src]

void buildTransport (in DOMString sessionId, in uint8_t role);

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

IID: nsIID = nsID(3728914241, 22041, 18000, [185, 97, 194, 206, 187, 87, 44, 149])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIPresentationService
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.