Package 

Interface DevSplitBundleCallback


  • 
    public interface DevSplitBundleCallback
    
                        

    Callback class for loading split JS bundles from Metro in development.

    • Method Summary

      Modifier and Type Method Description
      abstract void onSuccess() Called when the split JS bundle has been downloaded and evaluated.
      abstract void onError(String url, Throwable cause) Called when the split JS bundle failed to load.
      • Methods inherited from class java.lang.Object

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

      • onSuccess

         abstract void onSuccess()

        Called when the split JS bundle has been downloaded and evaluated.

      • onError

         abstract void onError(String url, Throwable cause)

        Called when the split JS bundle failed to load.