sk.baka.ambient.playerservice
Class MediaPlayerErrors

java.lang.Object
  extended by sk.baka.ambient.playerservice.MediaPlayerErrors

public final class MediaPlayerErrors
extends Object

Decodes MediaPlayer error codes.

Author:
Martin Vysny

Method Summary
static String getMessage(int what, int extra, Context context)
          Formats given MediaPlayer error message.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getMessage

public static String getMessage(int what,
                                int extra,
                                Context context)
Formats given MediaPlayer error message.

Parameters:
what - the "What" field.
extra - the "Extra" field.
context - a context
Returns:
error message.


Copyright © 2007-2008. All Rights Reserved.