public interface AVAudioPlayerDelegate
| Modifier and Type | Method and Description |
|---|---|
void |
beginInterruption(AVAudioPlayer avap)
It is called when the AVAudioPlayer is interrupted.
|
void |
decodeErrorDidOccur(AVAudioPlayer avap,
NSError error)
It is called when the AVAudioPlayer encounters an error.
|
void |
didFinishPlaying(AVAudioPlayer avap,
boolean bln)
It is called when the AVAudioPlayer finished playing.
|
void |
endInterruption(AVAudioPlayer avap)
It is called after the audio session interruption ends.
|
void didFinishPlaying(AVAudioPlayer avap, boolean bln)
avap - The AVAudioPlayer that corresponds to this delegate.bln - TRUE then the operation was successful.void decodeErrorDidOccur(AVAudioPlayer avap, NSError error)
avap - The AVAudioPlayer that corresponds to this delegate.error - The error that occurred.void beginInterruption(AVAudioPlayer avap)
avap - The AVAudioPlayer that corresponds to this delegate.void endInterruption(AVAudioPlayer avap)
avap - The AVAudioPlayer that corresponds to this delegate.Copyright © 2020. All rights reserved.