-
public interface HeadlessJsTaskEventListenerListener interface for task lifecycle events.
-
-
Method Summary
Modifier and Type Method Description abstract voidonHeadlessJsTaskStart(int taskId)Called when a JS task is started, on the UI thread. abstract voidonHeadlessJsTaskFinish(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.
-
-
-
-