| java.lang.Object | |
| ↳ | android.media.TimedText |
Class to hold the timed text's metadata, including:
To render the timed text, applications need to do the following:
MediaPlayer.OnTimedTextListener
interface
MediaPlayer.OnTimedTextListener
callback on a MediaPlayer object that is used for playback
getText()
to get the characters for rendering
getBounds()
to get the text rendering area/region
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Get the rectangle area or region for rendering the timed text as specified
by a Rect object.
|
||||||||||
|
|
Get the characters in the timed text.
|
||||||||||
|
[Expand]
Inherited Methods
|
|||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
|||||||||||||||||||||||||||||||||
Get the rectangle area or region for rendering the timed text as specified by a Rect object.
Get the characters in the timed text.