Instance Method

audioPlayerDecodeErrorDidOccur(_:error:)

Called when an audio player encounters a decoding error during playback.

Declaration

optional func audioPlayerDecodeErrorDidOccur(_ player: AVAudioPlayer, error: Error?)

Parameters

player

The audio player that encountered the decoding error.

error

The decoding error.