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

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -