Package 

Class HeadlessJsTaskSupportModule

  • All Implemented Interfaces:
    com.facebook.react.bridge.NativeModule , com.facebook.react.bridge.ReactModuleWithSpec , com.facebook.react.turbomodule.core.interfaces.TurboModule

    
    public class HeadlessJsTaskSupportModule
    extends NativeHeadlessJsTaskSupportSpec
                        

    Simple native module that allows JS to notify native of having completed some task work, so that it can e.g. release any resources, stop timers etc.

    • Field Summary

      Fields 
      Modifier and Type Field Description
      public final static String NAME
    • Method Summary

      Modifier and Type Method Description
      String getName()
      void notifyTaskRetry(double taskIdDouble, Promise promise)
      void notifyTaskFinished(double taskIdDouble)
      • Methods inherited from class com.facebook.fbreact.specs.NativeHeadlessJsTaskSupportSpec

        notifyTaskFinished, notifyTaskRetry
      • Methods inherited from class com.facebook.react.bridge.BaseJavaModule

        canOverrideExistingModule, getConstants, hasConstants, initialize, invalidate, onCatalystInstanceDestroy
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait