-
public interface HeadlessJsTaskEventListener
Listener interface for task lifecycle events.
-
-
Method Summary
Modifier and Type Method Description abstract void
onHeadlessJsTaskStart(int taskId)
Called when a JS task is started, on the UI thread. abstract void
onHeadlessJsTaskFinish(int taskId)
Called when a JS task finishes (i.e. -
-
Method Detail
-
onHeadlessJsTaskStart
abstract void onHeadlessJsTaskStart(int taskId)
Called when a JS task is started, on the UI thread.
- Parameters:
taskId
- the unique identifier of this task instance
-
onHeadlessJsTaskFinish
abstract void onHeadlessJsTaskFinish(int taskId)
Called when a JS task finishes (i.e. when is called, or when it times out), on the UIthread.
-
-
-
-