|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object sk.baka.ambient.PlaylistPlayerErrorHandler
final class PlaylistPlayerErrorHandler
Handles errors received by MediaPlayer
and tries to recover from
them.
Constructor Summary | |
---|---|
PlaylistPlayerErrorHandler(PlaylistPlayer owner)
Creates new error handler. |
Method Summary | |
---|---|
(package private) void |
cancelLocationResolving()
Cancels all location resolving activities. |
void |
close()
Closes this handler and frees all resources. |
(package private) void |
handleError(String error,
boolean missing,
TrackOriginEnum origin)
Handles the playback error. |
(package private) void |
handleSuccess()
A track playback was initiated successfully. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
PlaylistPlayerErrorHandler(PlaylistPlayer owner)
owner
- owner player.Method Detail |
---|
void handleError(String error, boolean missing, TrackOriginEnum origin)
error
- the error message from the player.missing
- if true
then the error occurred because the file
is missing.origin
- the track originvoid handleSuccess()
void cancelLocationResolving()
public void close()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |