HeadlessJsTaskEventListener

Listener interface for task lifecycle events.

Inheritors

Functions

Link copied to clipboard
abstract fun onHeadlessJsTaskFinish(taskId: Int)

Called when a JS task finishes (i.e. when HeadlessJsTaskSupportModule.notifyTaskFinished is called, or when it times out), on the UI thread.

Link copied to clipboard
abstract fun onHeadlessJsTaskStart(taskId: Int)

Called when a JS task is started, on the UI thread.