ActivityResultRegistryOwner
public interface ActivityResultRegistryOwner
ComponentActivity |
Base class for activities that enables composition of higher level components. |
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 |
LauncherActivity |
This class handles providing the right launcher activity when running native applications and Car App Library applications. |
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.
| See also | |
|---|---|
ActivityResultRegistry |
Summary
Public methods |
|
|---|---|
abstract @NonNull ActivityResultRegistry |
Returns the ActivityResultRegistry of the provider. |
Public methods
getActivityResultRegistry
abstract @NonNull ActivityResultRegistry getActivityResultRegistry()
Returns the ActivityResultRegistry of the provider.
| Returns | |
|---|---|
@NonNull ActivityResultRegistry |
The activity result registry of the provider. |