Most visited

Recently visited

Added in API level 16

MediaPlayer.OnTimedTextListener

public static interface MediaPlayer.OnTimedTextListener

android.media.MediaPlayer.OnTimedTextListener


定时文本可用于显示时要调用的回调的接口定义。

Summary

Public methods

abstract void onTimedText(MediaPlayer mp, TimedText text)

被调用以指示可用的定时文本

Public methods

onTimedText

Added in API level 16
void onTimedText (MediaPlayer mp, 
                TimedText text)

被调用以指示可用的定时文本

Parameters
mp MediaPlayer: the MediaPlayer associated with this callback
text TimedText: the timed text sample which contains the text needed to be displayed and the display format.

Hooray!