- fd
- the FileDescriptor for the file you want to play
- mimeType
- The mime type of the file. Must be one of the mime types listed above.
Type Reason Java.Lang.IllegalArgumentException if the mimeType is not supported. Java.Lang.IllegalStateException if called in an invalid state.
Adds an external timed text source file (FileDescriptor). It is the caller's responsibility to close the file descriptor. It is safe to do so as soon as this call returns. Currently supported format is SubRip. Note that a single external timed text source may contain multiple tracks in it. One can find the total number of available tracks using MediaPlayer.GetTrackInfo to see what additional tracks become available after this method call.