protected OnError ( BackgroundAudioPlayer player, AudioTrack track, |
||
player | BackgroundAudioPlayer | The BackgroundAudioPlayer |
track | AudioTrack | The track that had the error |
error | The error that occured | |
isFatal | bool | If true, playback cannot continue and playback of the track will stop |
return | void |
protected override void OnError(BackgroundAudioPlayer player, AudioTrack track, Exception error, bool isFatal)
{
if (isFatal)
{
Abort();
}
else
{
NotifyComplete();
}
}