ActivityResultRegistryOwner


public 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.

BaseCarAppActivity

Core logic for CarAppLibrary Activity interaction with a host.

CarAppActivity

The class representing a car app activity in the main display.

FragmentActivity

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

LauncherActivity

This class handles providing the right launcher activity when running native applications and Car App Library applications.

SdkActivity

Activity to start for SDKs running locally.


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 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

Added in 1.2.0
abstract @NonNull ActivityResultRegistry getActivityResultRegistry()

Returns the ActivityResultRegistry of the provider.

Returns
@NonNull ActivityResultRegistry

The activity result registry of the provider.