Stay organized with collections
Save and categorize content based on your preferences.
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-05-15 UTC.
[null,null,["Last updated 2025-05-15 UTC."],[],[],null,["# androidx.activity.result\n========================\n\n*** ** * ** ***\n\n[Kotlin](/reference/kotlin/androidx/activity/result/package-summary \"View this page in Kotlin\") \\|Java\n\nInterfaces\n----------\n\n|------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [ActivityResultCallback](/reference/androidx/activity/result/ActivityResultCallback) | A type-safe callback to be called when an [activity result](https://developer.android.com/reference/android/app/Activity.html#onActivityResult(kotlin.Int, kotlin.Int, android.content.Intent)) is available. |\n| [ActivityResultCaller](/reference/androidx/activity/result/ActivityResultCaller) | A class that can call [Activity.startActivityForResult](https://developer.android.com/reference/android/app/Activity.html#startActivityForResult(android.content.Intent, kotlin.Int))-style APIs without having to manage request codes, and converting request/response to an [Intent](https://developer.android.com/reference/android/content/Intent.html) |\n| [ActivityResultRegistryOwner](/reference/androidx/activity/result/ActivityResultRegistryOwner) | A class that has an [ActivityResultRegistry](/reference/androidx/activity/result/ActivityResultRegistry) that allows you to register a [ActivityResultCallback](/reference/androidx/activity/result/ActivityResultCallback) for handling an [androidx.activity.result.contract.ActivityResultContract](/reference/androidx/activity/result/contract/ActivityResultContract). |\n\nClasses\n-------\n\n|------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [ActivityResult](/reference/androidx/activity/result/ActivityResult) | A container for an activity result as obtained from [Activity.onActivityResult](https://developer.android.com/reference/android/app/Activity.html#onActivityResult(kotlin.Int, kotlin.Int, android.content.Intent)) |\n| [ActivityResultCallerKt](/reference/androidx/activity/result/ActivityResultCallerKt) | |\n| [ActivityResultKt](/reference/androidx/activity/result/ActivityResultKt) | |\n| [ActivityResultLauncher](/reference/androidx/activity/result/ActivityResultLauncher) | A launcher for a previously-[prepared call](/reference/androidx/activity/result/ActivityResultCaller#registerForActivityResult(androidx.activity.result.contract.ActivityResultContract,androidx.activity.result.ActivityResultCallback)) to start the process of executing an [ActivityResultContract](/reference/androidx/activity/result/contract/ActivityResultContract) that takes an [I](/reference/androidx/activity/result/ActivityResultLauncher) as its required input. |\n| [ActivityResultLauncherKt](/reference/androidx/activity/result/ActivityResultLauncherKt) | |\n| [ActivityResultRegistry](/reference/androidx/activity/result/ActivityResultRegistry) | A registry that stores [activity result callbacks](/reference/androidx/activity/result/ActivityResultCallback) for [registered calls](/reference/androidx/activity/result/ActivityResultCaller#registerForActivityResult(androidx.activity.result.contract.ActivityResultContract,androidx.activity.result.ActivityResultCallback)). |\n| [IntentSenderRequest](/reference/androidx/activity/result/IntentSenderRequest) | A request for a [androidx.activity.result.contract.ActivityResultContracts.StartIntentSenderForResult](/reference/androidx/activity/result/contract/ActivityResultContracts.StartIntentSenderForResult) Activity Contract. |\n| [IntentSenderRequest.Builder](/reference/androidx/activity/result/IntentSenderRequest.Builder) | A builder for constructing [IntentSenderRequest](/reference/androidx/activity/result/IntentSenderRequest) instances. |\n| [PickVisualMediaRequest](/reference/androidx/activity/result/PickVisualMediaRequest) | A request for a [androidx.activity.result.contract.ActivityResultContracts.PickMultipleVisualMedia](/reference/androidx/activity/result/contract/ActivityResultContracts.PickMultipleVisualMedia) or [androidx.activity.result.contract.ActivityResultContracts.PickVisualMedia](/reference/androidx/activity/result/contract/ActivityResultContracts.PickVisualMedia) Activity Contract. |\n| [PickVisualMediaRequest.Builder](/reference/androidx/activity/result/PickVisualMediaRequest.Builder) | A builder for constructing [PickVisualMediaRequest](/reference/androidx/activity/result/PickVisualMediaRequest) instances. |\n| [PickVisualMediaRequestKt](/reference/androidx/activity/result/PickVisualMediaRequestKt) | |"]]