Package 

Interface HeadlessJsTaskEventListener

    • 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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.