Düzenle

Aracılığıyla paylaş


AVAudioPlayerDelegate_Extensions Class

Definition

Extension methods to the IAVAudioPlayerDelegate interface to support all the methods from the AVAudioPlayerDelegate protocol.

public static class AVAudioPlayerDelegate_Extensions
type AVAudioPlayerDelegate_Extensions = class
Inheritance
AVAudioPlayerDelegate_Extensions

Remarks

The extension methods for IAVAudioPlayerDelegate allow developers to treat instances of the interface as having all the optional methods of the original AVAudioPlayerDelegate protocol. Since the interface only contains the required members, these extension methods allow developers to call the optional members of the protocol.

Methods

BeginInterruption(IAVAudioPlayerDelegate, AVAudioPlayer)

Developers should not use this deprecated method.

DecoderError(IAVAudioPlayerDelegate, AVAudioPlayer, NSError)
EndInterruption(IAVAudioPlayerDelegate, AVAudioPlayer, AVAudioSessionInterruptionFlags)
EndInterruption(IAVAudioPlayerDelegate, AVAudioPlayer)
FinishedPlaying(IAVAudioPlayerDelegate, AVAudioPlayer, Boolean)

Applies to