List of usage examples for com.facebook.react ReactInstanceManager onActivityResult
@ThreadConfined(UI) public void onActivityResult(Activity activity, int requestCode, int resultCode, Intent data)
From source file:org.jitsi.meet.sdk.JitsiMeetActivityDelegate.java
License:Apache License
/** * {@link Activity} lifecycle method which should be called from * {@code Activity#onActivityResult} so we are notified about results of external intents * started/finished.//from w ww. j a v a2 s .co m * * @param activity {@code Activity} activity from where the result comes from. * @param requestCode {@code int} code of the request. * @param resultCode {@code int} code of the result. * @param data {@code Intent} the intent of the activity. */ public static void onActivityResult(Activity activity, int requestCode, int resultCode, Intent data) { ReactInstanceManager reactInstanceManager = ReactInstanceManagerHolder.getReactInstanceManager(); if (reactInstanceManager != null) { reactInstanceManager.onActivityResult(activity, requestCode, resultCode, data); } }