Trait AVAudioPlayerDelegate

Source
pub unsafe trait AVAudioPlayerDelegate: NSObjectProtocol {
    // Provided methods
    unsafe fn audioPlayerDidFinishPlaying_successfully(
        &self,
        player: &AVAudioPlayer,
        flag: bool,
    )
       where Self: Sized + Message { ... }
    unsafe fn audioPlayerDecodeErrorDidOccur_error(
        &self,
        player: &AVAudioPlayer,
        error: Option<&NSError>,
    )
       where Self: Sized + Message { ... }
}
Available on crate feature AVAudioPlayer only.
Expand description

Provided Methods§

Source

unsafe fn audioPlayerDidFinishPlaying_successfully( &self, player: &AVAudioPlayer, flag: bool, )
where Self: Sized + Message,

Source

unsafe fn audioPlayerDecodeErrorDidOccur_error( &self, player: &AVAudioPlayer, error: Option<&NSError>, )
where Self: Sized + Message,

Trait Implementations§

Source§

impl ProtocolType for dyn AVAudioPlayerDelegate

Source§

const NAME: &'static str = "AVAudioPlayerDelegate"

The name of the Objective-C protocol that this type represents. Read more
Source§

fn protocol() -> Option<&'static AnyProtocol>

Get a reference to the Objective-C protocol object that this type represents. Read more
Source§

impl<T> ImplementedBy<T> for dyn AVAudioPlayerDelegate

Implementations on Foreign Types§

Source§

impl<T> AVAudioPlayerDelegate for ProtocolObject<T>

Implementors§