# onActivityResult

open fun onActivityResult(requestCode: Int, resultCode: Int, data: Intent)

The method that should be called from the Activity's or Fragment's onActivityResult method.

Example Usage:

    public class MainActivity extends AppCompatActivity {
        ...
        @Override
        protected void onActivityResult(int requestCode, int resultCode, Intent data) {
            super.onActivityResult(requestCode, resultCode, data);
            Gamebase.onActivityResult(requestCode, resultCode, data);
        }
        ...
    }

Content copied to clipboard

#### Since

Added 1.4.0.

#### Parameters

requestCode

The request code that's received by the Activity or Fragment.

resultCode

The result code that's received by the Activity or Fragment.

data

The result data that's received by the Activity or Fragment.