io.vov.vitamio
Interface MediaPlayer.OnSubtitleUpdateListener

Enclosing class:
MediaPlayer

public static interface MediaPlayer.OnSubtitleUpdateListener


Method Summary
 void onSubtitleUpdate(byte[] pixels, int width, int height)
          Called to indicate that an image subtitle need to display
 void onSubtitleUpdate(java.lang.String text)
          Called to indicate that a text subtitle need to display
 

Method Detail

onSubtitleUpdate

void onSubtitleUpdate(java.lang.String text)
Called to indicate that a text subtitle need to display

Parameters:
text - the subtitle to display

onSubtitleUpdate

void onSubtitleUpdate(byte[] pixels,
                      int width,
                      int height)
Called to indicate that an image subtitle need to display

Parameters:
pixels - the pixels of the subtitle image
width - the width of the subtitle image
height - the height of the subtitle image