Struct xpcom::interfaces::nsIPresentationControlChannelListener
[−]
[src]
#[repr(C)]pub struct nsIPresentationControlChannelListener { /* fields omitted */ }
interface nsIPresentationControlChannelListener : nsISupports
Methods
impl nsIPresentationControlChannelListener
[src]
pub fn coerce<T: nsIPresentationControlChannelListenerCoerce>(&self) -> &T
[src]
Cast this nsIPresentationControlChannelListener
to one of its base interfaces.
impl nsIPresentationControlChannelListener
[src]
pub unsafe fn OnOffer(
&self,
offer: *const nsIPresentationChannelDescription
) -> nsresult
[src]
&self,
offer: *const nsIPresentationChannelDescription
) -> nsresult
void onOffer (in nsIPresentationChannelDescription offer);
pub unsafe fn OnAnswer(
&self,
answer: *const nsIPresentationChannelDescription
) -> nsresult
[src]
&self,
answer: *const nsIPresentationChannelDescription
) -> nsresult
void onAnswer (in nsIPresentationChannelDescription answer);
pub unsafe fn OnIceCandidate(&self, candidate: &nsAString) -> nsresult
[src]
void onIceCandidate (in DOMString candidate);
pub unsafe fn NotifyConnected(&self) -> nsresult
[src]
void notifyConnected ();
pub unsafe fn NotifyDisconnected(&self, reason: nsresult) -> nsresult
[src]
void notifyDisconnected (in nsresult reason);
pub unsafe fn NotifyReconnected(&self) -> nsresult
[src]
void notifyReconnected ();
Methods from Deref<Target = nsISupports>
pub fn coerce<T: nsISupportsCoerce>(&self) -> &T
[src]
Cast this nsISupports
to one of its base interfaces.
pub unsafe fn QueryInterface(
&self,
uuid: &nsIID,
result: *mut *mut c_void
) -> nsresult
[src]
&self,
uuid: &nsIID,
result: *mut *mut c_void
) -> nsresult
void QueryInterface (in nsIIDRef uuid, [iid_is (uuid), retval] out nsQIResult result);
pub unsafe fn AddRef(&self) -> nsrefcnt
[src]
[noscript,notxpcom] nsrefcnt AddRef ();
pub unsafe fn Release(&self) -> nsrefcnt
[src]
[noscript,notxpcom] nsrefcnt Release ();
Trait Implementations
impl XpCom for nsIPresentationControlChannelListener
[src]
const IID: nsIID
IID: nsIID = nsID(2531087503, 32015, 17345, [177, 173, 40, 230, 102, 207, 30, 130])
fn query_interface<T: XpCom>(&self) -> Option<RefPtr<T>>
[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 nsIPresentationControlChannelListener
[src]
unsafe fn addref(&self)
[src]
Increment the reference count.
unsafe fn release(&self)
[src]
Decrement the reference count, potentially freeing backing memory.
impl Deref for nsIPresentationControlChannelListener
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.