public static interface MediaPlayer.OnInfoListener
Modifier and Type | Method and Description |
---|---|
boolean |
onInfo(MediaPlayer mp,
int what,
int extra)
Called to indicate an info or a warning.
|
boolean onInfo(MediaPlayer mp, int what, int extra)
mp
- the MediaPlayer the info pertains to.what
- the type of info or warning.
MediaPlayer.MEDIA_INFO_UNKNOWN
MediaPlayer.MEDIA_INFO_VIDEO_TRACK_LAGGING
MediaPlayer.MEDIA_INFO_VIDEO_RENDERING_START
MediaPlayer.MEDIA_INFO_BUFFERING_START
MediaPlayer.MEDIA_INFO_BUFFERING_END
MEDIA_INFO_NETWORK_BANDWIDTH (703)
-
bandwidth information is available (as extra
kbps)
MediaPlayer.MEDIA_INFO_BAD_INTERLEAVING
MediaPlayer.MEDIA_INFO_NOT_SEEKABLE
MediaPlayer.MEDIA_INFO_METADATA_UPDATE
MediaPlayer.MEDIA_INFO_UNSUPPORTED_SUBTITLE
MediaPlayer.MEDIA_INFO_SUBTITLE_TIMED_OUT
extra
- an extra code, specific to the info. Typically
implementation dependent.