android - How to access TimedText metadata -
i'm trying use timedtext api androids mediaplayer. whenever timed text rendered, callback timedtext object.
the timedtext class has 2 public methods: gettext() returning string text, , getbounds() returning rectangle bounding box of text.
however, when timedtext.java source file, find there's lot more of useful metadata passed inside timedtext object: color, font, italic, bold, justification etc. see http://androidxref.com/4.2.2_r1/xref/frameworks/base/media/java/android/media/timedtext.java
unfortunately, metadata private, no observers read it. there other way application can access metadata? don't see why mediaplayer adds useful data timedtext object if application can't read it. experience using timedtext class?
thanks
Comments
Post a Comment