@ListensFor(events={}) @Emits(events={}) public class LoadCaptionsService extends AbstractComponent
eventEmitter, listenerTokens| Constructor and Description |
|---|
LoadCaptionsService(EventEmitter emitter,
android.content.ContentResolver contentResolver)
The LoadCaptionsService requires an EventEmitter to notify when the Captions are loaded.
|
| Modifier and Type | Method and Description |
|---|---|
void |
loadCaptions(android.net.Uri uri,
java.lang.String mimeType)
Asynchronously loads and parses the captions file located at the given Uri.
|
addListener, addOnceListener, getEventEmitter, removeListener, removeListenerspublic LoadCaptionsService(EventEmitter emitter, android.content.ContentResolver contentResolver)