Package 

Class CallbackImpl

  • All Implemented Interfaces:
    com.facebook.react.bridge.Callback

    
    public final class CallbackImpl
     implements Callback
                        

    Implementation of javascript callback function that use Bridge to schedule method execution

    • Method Summary

      Modifier and Type Method Description
      void invoke(Array<Object> args) Schedule javascript function execution represented by this Callback instance
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CallbackImpl

        CallbackImpl(JSInstance jsInstance, int callbackId)
    • Method Detail

      • invoke

         void invoke(Array<Object> args)

        Schedule javascript function execution represented by this Callback instance

        Parameters:
        args - arguments passed to javascript callback method via bridge