public interface HeadlessJsTaskEventListener
Modifier and Type | Method and Description |
---|---|
void |
onHeadlessJsTaskFinish(int taskId)
Called when a JS task finishes (i.e.
|
void |
onHeadlessJsTaskStart(int taskId)
Called when a JS task is started, on the UI thread.
|
void onHeadlessJsTaskStart(int taskId)
taskId
- the unique identifier of this task instancevoid onHeadlessJsTaskFinish(int taskId)
HeadlessJsTaskSupportModule#notifyTaskFinished
is called, or when it times out), on the
UI thread.