Interface AudioLoadResultHandler
-
- All Known Implementing Classes:
FunctionalResultHandler
public interface AudioLoadResultHandlerHandles the result of loading an item from an audio player manager.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidloadFailed(FriendlyException exception)Called when loading an item failed with an exception.voidnoMatches()Called when there were no items found by the specified identifier.voidplaylistLoaded(AudioPlaylist playlist)Called when the requested item is a playlist and it was successfully loaded.voidtrackLoaded(AudioTrack track)Called when the requested item is a track and it was successfully loaded.
-
-
-
Method Detail
-
trackLoaded
void trackLoaded(AudioTrack track)
Called when the requested item is a track and it was successfully loaded.- Parameters:
track- The loaded track
-
playlistLoaded
void playlistLoaded(AudioPlaylist playlist)
Called when the requested item is a playlist and it was successfully loaded.- Parameters:
playlist- The loaded playlist
-
noMatches
void noMatches()
Called when there were no items found by the specified identifier.
-
loadFailed
void loadFailed(FriendlyException exception)
Called when loading an item failed with an exception.- Parameters:
exception- The exception that was thrown
-
-