onActivityResult

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

Called when an activity you launched exits, giving you the requestCode you started it with, the resultCode is returned, and any additional data for VGSCollect. Preferably call it inside onActivityResult system's callback.

Parameters

requestCode

The integer request code originally supplied to startActivityForResult(), allowing you to identify who this result came from.

resultCode

The integer result code returned by the child activity through its setResult().

data

An Intent, which can return result data to the caller (various data can be attached to Intent "extras").