Struct xpcom::interfaces::nsIPresentationDataChannelSessionTransportBuilder [] [src]

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

interface nsIPresentationDataChannelSessionTransportBuilder : nsIPresentationSessionTransportBuilder

/**
 * Builder for WebRTC data channel session transport
 */

Methods

impl nsIPresentationDataChannelSessionTransportBuilder
[src]

[src]

Cast this nsIPresentationDataChannelSessionTransportBuilder to one of its base interfaces.

impl nsIPresentationDataChannelSessionTransportBuilder
[src]

[src]

/**
   * The following creation function will trigger |listener.onSessionTransport|
   * if the session transport is successfully built, |listener.onError| if some
   * error occurs during creating session transport. The |notifyConnected| of
   * |aControlChannel| should be called before calling
   * |buildDataChannelTransport|.
   */

void buildDataChannelTransport (in uint8_t aRole, in mozIDOMWindow aWindow, in nsIPresentationSessionTransportBuilderListener aListener);

[src]

void onOffer (in nsIPresentationChannelDescription offer);

[src]

void onAnswer (in nsIPresentationChannelDescription answer);

[src]

void onIceCandidate (in DOMString candidate);

[src]

void notifyDisconnected (in nsresult reason);

Methods from Deref<Target = nsIPresentationSessionTransportBuilder>

[src]

Cast this nsIPresentationSessionTransportBuilder to one of its base interfaces.

Trait Implementations

impl XpCom for nsIPresentationDataChannelSessionTransportBuilder
[src]

IID: nsIID = nsID(2167522528, 14988, 19393, [169, 42, 132, 49, 71, 61, 47, 232])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIPresentationDataChannelSessionTransportBuilder
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.