use core::ptr::NonNull;
use objc2::__framework_prelude::*;
#[cfg(feature = "objc2-av-foundation")]
use objc2_av_foundation::*;
use crate::*;
mod private_AVMediaSelectionOptionMPNowPlayingInfoLanguageOptionAdditions {
pub trait Sealed {}
}
#[doc(alias = "MPNowPlayingInfoLanguageOptionAdditions")]
pub unsafe trait AVMediaSelectionOptionMPNowPlayingInfoLanguageOptionAdditions:
ClassType + Sized + private_AVMediaSelectionOptionMPNowPlayingInfoLanguageOptionAdditions::Sealed
{
extern_methods!(
#[cfg(feature = "MPNowPlayingInfoLanguageOption")]
#[unsafe(method(makeNowPlayingInfoLanguageOption))]
#[unsafe(method_family = none)]
unsafe fn makeNowPlayingInfoLanguageOption(
&self,
) -> Option<Retained<MPNowPlayingInfoLanguageOption>>;
);
}
#[cfg(feature = "objc2-av-foundation")]
impl private_AVMediaSelectionOptionMPNowPlayingInfoLanguageOptionAdditions::Sealed
for AVMediaSelectionOption
{
}
#[cfg(feature = "objc2-av-foundation")]
unsafe impl AVMediaSelectionOptionMPNowPlayingInfoLanguageOptionAdditions
for AVMediaSelectionOption
{
}
mod private_AVMediaSelectionGroupMPNowPlayingInfoLanguageOptionAdditions {
pub trait Sealed {}
}
#[doc(alias = "MPNowPlayingInfoLanguageOptionAdditions")]
pub unsafe trait AVMediaSelectionGroupMPNowPlayingInfoLanguageOptionAdditions:
ClassType + Sized + private_AVMediaSelectionGroupMPNowPlayingInfoLanguageOptionAdditions::Sealed
{
extern_methods!(
#[cfg(feature = "MPNowPlayingInfoLanguageOption")]
#[unsafe(method(makeNowPlayingInfoLanguageOptionGroup))]
#[unsafe(method_family = none)]
unsafe fn makeNowPlayingInfoLanguageOptionGroup(
&self,
) -> Retained<MPNowPlayingInfoLanguageOptionGroup>;
);
}
#[cfg(feature = "objc2-av-foundation")]
impl private_AVMediaSelectionGroupMPNowPlayingInfoLanguageOptionAdditions::Sealed
for AVMediaSelectionGroup
{
}
#[cfg(feature = "objc2-av-foundation")]
unsafe impl AVMediaSelectionGroupMPNowPlayingInfoLanguageOptionAdditions for AVMediaSelectionGroup {}