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 |
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 imagewidth
- the width of the subtitle imageheight
- the height of the subtitle image