Android 12 Developer Preview is here! Try it out, and give us your feedback!

ActivityResultCallback

interface ActivityResultCallback<O : Any!>
androidx.activity.result.ActivityResultCallback

A type-safe callback to be called when an activity result is available.

Summary

Public methods
abstract Unit
onActivityResult(result: O)

Called when result is available

Public methods

onActivityResult

abstract fun onActivityResult(result: O): Unit

Called when result is available