ActivityResultRegistryOwner

interface ActivityResultRegistryOwner

Known direct subclasses
ComponentActivity

Base class for activities that enables composition of higher level components.

Known indirect subclasses
AppCompatActivity

Base class for activities that wish to use some of the newer platform features on older Android devices.

CarAppActivity

The class representing a car app activity.

FragmentActivity

Base class for activities that want to use the support-based Fragments.


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 register in the constructor, it is strongly recommended to also implement ActivityResultCaller.

Summary

Public methods

abstract @NonNull ActivityResultRegistry

Returns the ActivityResultRegistry of the provider.

Public methods

getActivityResultRegistry

@NonNull
abstract ActivityResultRegistry getActivityResultRegistry()

Returns the ActivityResultRegistry of the provider.

Returns
ActivityResultRegistry

The activity result registry of the provider.