A class that has an
ActivityResultRegistry that allows you to register a
ActivityResultCallback for handling an
androidx.activity.result.contract.ActivityResultContract. If it is not safe to call
ActivityResultRegistry#register(String, ActivityResultContract, ActivityResultCallback) in the constructor, it is strongly recommended to also implement
@NonNull abstract fun getActivityResultRegistry(): ActivityResultRegistry
Returns the ActivityResultRegistry of the provider.
Content and code samples on this page are subject to the licenses described in the Content License. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2020-10-28 UTC.