Exemple #1
0
 @Override
 public void onTimedText(String text) {
   Log.i("onSubtitleUpdate: %s", text);
   if (mOnTimedTextListener != null) mOnTimedTextListener.onTimedText(text);
 }
Exemple #2
0
 @Override
 public void onTimedTextUpdate(byte[] pixels, int width, int height) {
   Log.i("onSubtitleUpdate: bitmap subtitle, %dx%d", width, height);
   if (mOnTimedTextListener != null)
     mOnTimedTextListener.onTimedTextUpdate(pixels, width, height);
 }