Struct windows::Media::Capture::AppBroadcastStreamReader
pub struct AppBroadcastStreamReader(/* private fields */);
Implementations§
§impl AppBroadcastStreamReader
impl AppBroadcastStreamReader
pub fn AudioChannels(&self) -> Result<u32>
pub fn AudioSampleRate(&self) -> Result<u32>
pub fn AudioAacSequence(&self) -> Result<IBuffer>
pub fn AudioBitrate(&self) -> Result<u32>
pub fn TryGetNextAudioFrame(&self) -> Result<AppBroadcastStreamAudioFrame>
pub fn VideoWidth(&self) -> Result<u32>
pub fn VideoHeight(&self) -> Result<u32>
pub fn VideoBitrate(&self) -> Result<u32>
pub fn TryGetNextVideoFrame(&self) -> Result<AppBroadcastStreamVideoFrame>
pub fn AudioFrameArrived<P0>(&self, value: P0) -> Result<EventRegistrationToken>
pub fn RemoveAudioFrameArrived( &self, token: EventRegistrationToken ) -> Result<()>
pub fn VideoFrameArrived<P0>(&self, value: P0) -> Result<EventRegistrationToken>
pub fn RemoveVideoFrameArrived( &self, token: EventRegistrationToken ) -> Result<()>
Trait Implementations§
§impl Clone for AppBroadcastStreamReader
impl Clone for AppBroadcastStreamReader
§fn clone(&self) -> AppBroadcastStreamReader
fn clone(&self) -> AppBroadcastStreamReader
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for AppBroadcastStreamReader
impl Debug for AppBroadcastStreamReader
§impl From<&AppBroadcastStreamReader> for &IInspectable
impl From<&AppBroadcastStreamReader> for &IInspectable
§fn from(value: &AppBroadcastStreamReader) -> Self
fn from(value: &AppBroadcastStreamReader) -> Self
Converts to this type from the input type.
§impl From<&AppBroadcastStreamReader> for &IUnknown
impl From<&AppBroadcastStreamReader> for &IUnknown
§fn from(value: &AppBroadcastStreamReader) -> Self
fn from(value: &AppBroadcastStreamReader) -> Self
Converts to this type from the input type.
§impl From<AppBroadcastStreamReader> for IInspectable
impl From<AppBroadcastStreamReader> for IInspectable
§fn from(value: AppBroadcastStreamReader) -> Self
fn from(value: AppBroadcastStreamReader) -> Self
Converts to this type from the input type.
§impl From<AppBroadcastStreamReader> for IUnknown
impl From<AppBroadcastStreamReader> for IUnknown
§fn from(value: AppBroadcastStreamReader) -> Self
fn from(value: AppBroadcastStreamReader) -> Self
Converts to this type from the input type.
§impl Interface for AppBroadcastStreamReader
impl Interface for AppBroadcastStreamReader
§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 more§impl PartialEq for AppBroadcastStreamReader
impl PartialEq for AppBroadcastStreamReader
§fn eq(&self, other: &AppBroadcastStreamReader) -> bool
fn eq(&self, other: &AppBroadcastStreamReader) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for AppBroadcastStreamReader
impl StructuralPartialEq for AppBroadcastStreamReader
Auto Trait Implementations§
impl RefUnwindSafe for AppBroadcastStreamReader
impl !Send for AppBroadcastStreamReader
impl !Sync for AppBroadcastStreamReader
impl Unpin for AppBroadcastStreamReader
impl UnwindSafe for AppBroadcastStreamReader
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