Class LoadCaptionsService

    • Constructor Detail

      • LoadCaptionsService

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

      • loadCaptions

        public void loadCaptions​(android.net.Uri uri,
                                 java.lang.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.