Struct windows::Media::Protection::PlayReady::NDClient
pub struct NDClient(/* private fields */);
Implementations§
§impl NDClient
impl NDClient
pub fn RegistrationCompleted<P0>( &self, handler: P0 ) -> Result<EventRegistrationToken>
pub fn RemoveRegistrationCompleted( &self, token: EventRegistrationToken ) -> Result<()>
pub fn ProximityDetectionCompleted<P0>( &self, handler: P0 ) -> Result<EventRegistrationToken>
pub fn RemoveProximityDetectionCompleted( &self, token: EventRegistrationToken ) -> Result<()>
pub fn LicenseFetchCompleted<P0>( &self, handler: P0 ) -> Result<EventRegistrationToken>
pub fn RemoveLicenseFetchCompleted( &self, token: EventRegistrationToken ) -> Result<()>
pub fn ReRegistrationNeeded<P0>( &self, handler: P0 ) -> Result<EventRegistrationToken>
pub fn RemoveReRegistrationNeeded( &self, token: EventRegistrationToken ) -> Result<()>
pub fn ClosedCaptionDataReceived<P0>( &self, handler: P0 ) -> Result<EventRegistrationToken>
pub fn RemoveClosedCaptionDataReceived( &self, token: EventRegistrationToken ) -> Result<()>
pub fn StartAsync<P0, P1, P2>( &self, contenturl: P0, startasyncoptions: u32, registrationcustomdata: P1, licensefetchdescriptor: P2 ) -> Result<IAsyncOperation<INDStartResult>>
pub fn LicenseFetchAsync<P0>(
&self,
licensefetchdescriptor: P0
) -> Result<IAsyncOperation<INDLicenseFetchResult>>where
P0: IntoParam<INDLicenseFetchDescriptor>,
pub fn ReRegistrationAsync<P0>(
&self,
registrationcustomdata: P0
) -> Result<IAsyncAction>where
P0: IntoParam<INDCustomData>,
pub fn Close(&self) -> Result<()>
pub fn CreateInstance<P0, P1, P2>(
downloadengine: P0,
streamparser: P1,
pmessenger: P2
) -> Result<NDClient>where
P0: IntoParam<INDDownloadEngine>,
P1: IntoParam<INDStreamParser>,
P2: IntoParam<INDMessenger>,
Trait Implementations§
§impl From<&NDClient> for &IInspectable
impl From<&NDClient> for &IInspectable
§impl From<NDClient> for IInspectable
impl From<NDClient> for IInspectable
§impl Interface for NDClient
impl Interface for NDClient
§fn as_raw(&self) -> *mut c_void
fn as_raw(&self) -> *mut c_void
Returns the raw COM interface pointer. The resulting pointer continues to be owned by the
Interface
implementation.§fn into_raw(self) -> *mut c_void
fn into_raw(self) -> *mut c_void
Returns the raw COM interface pointer and releases ownership. It the caller’s responsibility to release the COM interface pointer.
§fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
Attempts to cast the current interface to another interface using
QueryInterface
. Read moreimpl Eq for NDClient
impl StructuralPartialEq for NDClient
Auto Trait Implementations§
impl RefUnwindSafe for NDClient
impl !Send for NDClient
impl !Sync for NDClient
impl Unpin for NDClient
impl UnwindSafe for NDClient
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more