Struct xpcom::interfaces::nsIPresentationSessionListener
[−]
[src]
#[repr(C)]pub struct nsIPresentationSessionListener { /* fields omitted */ }
interface nsIPresentationSessionListener : nsISupports
Methods
impl nsIPresentationSessionListener
[src]
pub fn coerce<T: nsIPresentationSessionListenerCoerce>(&self) -> &T
[src]
Cast this nsIPresentationSessionListener
to one of its base interfaces.
impl nsIPresentationSessionListener
[src]
pub const STATE_CONNECTING: i64
STATE_CONNECTING: i64 = 0
pub const STATE_CONNECTED: i64
STATE_CONNECTED: i64 = 1
pub const STATE_CLOSED: i64
STATE_CLOSED: i64 = 2
pub const STATE_TERMINATED: i64
STATE_TERMINATED: i64 = 3
pub unsafe fn NotifyStateChange(
&self,
sessionId: &nsAString,
state: uint16_t,
reason: nsresult
) -> nsresult
[src]
&self,
sessionId: &nsAString,
state: uint16_t,
reason: nsresult
) -> nsresult
void notifyStateChange (in DOMString sessionId, in unsigned short state, in nsresult reason);
pub unsafe fn NotifyMessage(
&self,
sessionId: &nsAString,
data: &nsACString,
isBinary: bool
) -> nsresult
[src]
&self,
sessionId: &nsAString,
data: &nsACString,
isBinary: bool
) -> nsresult
void notifyMessage (in DOMString sessionId, in ACString data, in boolean isBinary);
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 nsIPresentationSessionListener
[src]
const IID: nsIID
IID: nsIID = nsID(2111081976, 36748, 18631, [172, 55, 123, 159, 209, 172, 242, 248])
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 nsIPresentationSessionListener
[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 nsIPresentationSessionListener
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.