Package 

Class LoadCaptionsService

    • Method Summary

      Modifier and Type Method Description
      void loadCaptions(Uri uri, String mimeType) Asynchronously loads and parses the captions file located at the given Uri.
      • Methods inherited from class com.brightcove.player.event.AbstractComponent

        addListener, addOnceListener, getEventEmitter, removeListener, removeListeners
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • LoadCaptionsService

        LoadCaptionsService(EventEmitter emitter, ContentResolver contentResolver)
        The LoadCaptionsService requires an EventEmitter to notify when the Captions are loaded.
    • Method Detail

      • loadCaptions

         void loadCaptions(Uri uri, String mimeType)

        Asynchronously loads and parses the captions file located at the given Uri.

        Parameters:
        uri - The Uri of the captions file to load.
        mimeType - The mime type of the captions.