Struct xpcom::interfaces::nsIPresentationControlChannel
[−]
[src]
#[repr(C)]pub struct nsIPresentationControlChannel { /* fields omitted */ }
interface nsIPresentationControlChannel : nsISupports
Methods
impl nsIPresentationControlChannel
[src]
pub fn coerce<T: nsIPresentationControlChannelCoerce>(&self) -> &T
[src]
Cast this nsIPresentationControlChannel
to one of its base interfaces.
impl nsIPresentationControlChannel
[src]
pub unsafe fn GetListener(
&self,
aListener: *mut *const nsIPresentationControlChannelListener
) -> nsresult
[src]
&self,
aListener: *mut *const nsIPresentationControlChannelListener
) -> nsresult
attribute nsIPresentationControlChannelListener listener;
pub unsafe fn SetListener(
&self,
aListener: *const nsIPresentationControlChannelListener
) -> nsresult
[src]
&self,
aListener: *const nsIPresentationControlChannelListener
) -> nsresult
attribute nsIPresentationControlChannelListener listener;
pub unsafe fn SendOffer(
&self,
offer: *const nsIPresentationChannelDescription
) -> nsresult
[src]
&self,
offer: *const nsIPresentationChannelDescription
) -> nsresult
void sendOffer (in nsIPresentationChannelDescription offer);
pub unsafe fn SendAnswer(
&self,
answer: *const nsIPresentationChannelDescription
) -> nsresult
[src]
&self,
answer: *const nsIPresentationChannelDescription
) -> nsresult
void sendAnswer (in nsIPresentationChannelDescription answer);
pub unsafe fn SendIceCandidate(&self, candidate: &nsAString) -> nsresult
[src]
void sendIceCandidate (in DOMString candidate);
pub unsafe fn Launch(
&self,
presentationId: &nsAString,
url: &nsAString
) -> nsresult
[src]
&self,
presentationId: &nsAString,
url: &nsAString
) -> nsresult
void launch (in DOMString presentationId, in DOMString url);
pub unsafe fn Terminate(&self, presentationId: &nsAString) -> nsresult
[src]
void terminate (in DOMString presentationId);
pub unsafe fn Disconnect(&self, reason: nsresult) -> nsresult
[src]
void disconnect (in nsresult reason);
pub unsafe fn Reconnect(
&self,
presentationId: &nsAString,
url: &nsAString
) -> nsresult
[src]
&self,
presentationId: &nsAString,
url: &nsAString
) -> nsresult
void reconnect (in DOMString presentationId, in DOMString url);
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 nsIPresentationControlChannel
[src]
const IID: nsIID
IID: nsIID = nsID(3859685516, 43509, 19398, [154, 62, 71, 243, 228, 174, 156, 87])
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 nsIPresentationControlChannel
[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 nsIPresentationControlChannel
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.