public static interface CoronaActivity.OnActivityResultHandler
CoronaActivity
when a result has been received from a
child Activity.
This handler is assigned to the CoronaActivity
via its
registerActivityResultHandler()
method, which returns a unique request code for you to use when calling
startActivityForResult().
CoronaActivity
Modifier and Type | Method and Description |
---|---|
void |
onHandleActivityResult(CoronaActivity activity,
int requestCode,
int resultCode,
android.content.Intent data)
Called when returning from an activity you've launched via the
startActivityForResult()
method.
|
void onHandleActivityResult(CoronaActivity activity, int requestCode, int resultCode, android.content.Intent data)
activity
- The CoronaActivity
that is receiving the result.requestCode
- The integer request code originally supplied to
startActivityForResult(). Allows you to identify which child activity that the result is coming from.resultCode
- The integer result code returned by the child activity via its
setResult() method.data
- An Intent object which can return result data to the caller. Can be null.