AVMediaSelectionGroupMPNowPlayingInfoLanguageOptionAdditions

Trait AVMediaSelectionGroupMPNowPlayingInfoLanguageOptionAdditions 

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

Category “MPNowPlayingInfoLanguageOptionAdditions” on AVMediaSelectionGroup.

Provided Methods§

Source

unsafe fn makeNowPlayingInfoLanguageOptionGroup( &self, ) -> Retained<MPNowPlayingInfoLanguageOptionGroup>

Available on crate feature MPNowPlayingInfoLanguageOption only.

Will create a language option group from the AVMediaSelectionGroup Any AVMediaSelectionOptions in the AVMediaSelectionGroup not representing Audible or Legible selection options will be ignored.

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 AVMediaSelectionGroupMPNowPlayingInfoLanguageOptionAdditions for AVMediaSelectionGroup

Available on crate feature objc2-av-foundation only.

Implementors§