AVMediaSelectionOptionMPNowPlayingInfoLanguageOptionAdditions

Trait AVMediaSelectionOptionMPNowPlayingInfoLanguageOptionAdditions 

Source
pub unsafe trait AVMediaSelectionOptionMPNowPlayingInfoLanguageOptionAdditions:
    ClassType
    + Sized
    + Sealed {
    // Provided method
    unsafe fn makeNowPlayingInfoLanguageOption(
        &self,
    ) -> Option<Retained<MPNowPlayingInfoLanguageOption>> { ... }
}
Available on crate feature AVFoundation_MPNowPlayingInfoLanguageOptionAdditions only.
Expand description

Category “MPNowPlayingInfoLanguageOptionAdditions” on AVMediaSelectionOption. Category for creating language options from AV types

Provided Methods§

Source

unsafe fn makeNowPlayingInfoLanguageOption( &self, ) -> Option<Retained<MPNowPlayingInfoLanguageOption>>

Available on crate feature MPNowPlayingInfoLanguageOption only.

Will create a language option from the AVMediaSelectionOption Returns nil if the AVMediaSelectionOption does not represent an Audible or Legible selection option.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl AVMediaSelectionOptionMPNowPlayingInfoLanguageOptionAdditions for AVMediaSelectionOption

Available on crate feature objc2-av-foundation only.

Implementors§