pub struct PlayerItemMetadataOutput { /* private fields */ }Expand description
Re-exports the AVPlayer framework surface for this item.
Mirrors the AVPlayer framework counterpart for PlayerItemMetadataOutput.
Implementations§
Source§impl PlayerItemMetadataOutput
impl PlayerItemMetadataOutput
Sourcepub fn new(
identifiers: Option<&[impl AsRef<str>]>,
) -> Result<Self, AVPlayerError>
pub fn new( identifiers: Option<&[impl AsRef<str>]>, ) -> Result<Self, AVPlayerError>
Calls the AVPlayer framework counterpart for new.
Sourcepub fn suppresses_player_rendering(&self) -> Result<bool, AVPlayerError>
pub fn suppresses_player_rendering(&self) -> Result<bool, AVPlayerError>
Calls the AVPlayer framework counterpart for suppresses_player_rendering.
Sourcepub fn has_delegate(&self) -> Result<bool, AVPlayerError>
pub fn has_delegate(&self) -> Result<bool, AVPlayerError>
Calls the AVPlayer framework counterpart for has_delegate.
Sourcepub const fn as_output(&self) -> PlayerItemOutput<'_>
pub const fn as_output(&self) -> PlayerItemOutput<'_>
Mirrors the AVPlayer framework constant fn.
Sourcepub fn set_suppresses_player_rendering(&self, suppresses: bool)
pub fn set_suppresses_player_rendering(&self, suppresses: bool)
Calls the AVPlayer framework counterpart for set_suppresses_player_rendering.
Sourcepub fn observe<F>(
&self,
queue_label: Option<&str>,
callback: F,
) -> Result<MetadataOutputObserver, AVPlayerError>
pub fn observe<F>( &self, queue_label: Option<&str>, callback: F, ) -> Result<MetadataOutputObserver, AVPlayerError>
Calls the AVPlayer framework counterpart for observe.
Sourcepub fn advance_interval_for_delegate_invocation(
&self,
) -> Result<f64, AVPlayerError>
pub fn advance_interval_for_delegate_invocation( &self, ) -> Result<f64, AVPlayerError>
Calls the AVPlayer framework counterpart for advance_interval_for_delegate_invocation.
Sourcepub fn set_advance_interval_for_delegate_invocation(&self, interval: f64)
pub fn set_advance_interval_for_delegate_invocation(&self, interval: f64)
Calls the AVPlayer framework counterpart for set_advance_interval_for_delegate_invocation.
Sourcepub fn identifiers(&self) -> Result<Vec<String>, AVPlayerError>
pub fn identifiers(&self) -> Result<Vec<String>, AVPlayerError>
Calls the AVPlayer framework counterpart for identifiers.
Trait Implementations§
Source§impl Debug for PlayerItemMetadataOutput
impl Debug for PlayerItemMetadataOutput
Source§impl Drop for PlayerItemMetadataOutput
impl Drop for PlayerItemMetadataOutput
impl Send for PlayerItemMetadataOutput
Auto Trait Implementations§
impl Freeze for PlayerItemMetadataOutput
impl RefUnwindSafe for PlayerItemMetadataOutput
impl !Sync for PlayerItemMetadataOutput
impl Unpin for PlayerItemMetadataOutput
impl UnsafeUnpin for PlayerItemMetadataOutput
impl UnwindSafe for PlayerItemMetadataOutput
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