# ComponentActivity

Artifact: [androidx.activity:activity](https://developer.android.com/jetpack/androidx/releases/activity) [View Source](https://cs.android.com/search?q=file:androidx/activity/ComponentActivity.kt+class:androidx.activity.ComponentActivity) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/activity#1.0.0)

*** ** * ** ***


```
open class ComponentActivity : Activity, LifecycleOwner, ContextAware, ViewModelStoreOwner, HasDefaultViewModelProviderFactory, SavedStateRegistryOwner, OnBackPressedDispatcherOwner, NavigationEventDispatcherOwner, ActivityResultRegistryOwner, ActivityResultCaller, OnConfigurationChangedProvider, OnTrimMemoryProvider, OnNewIntentProvider, OnMultiWindowModeChangedProvider, PictureInPictureProvider, MenuHost, FullyDrawnReporterOwner
```

<br />

|---|---|---|---|---|---|
| [kotlin.Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html) ||||||
| ↳ | [android.content.Context](https://developer.android.com/reference/android/content/Context.html) |||||
|   | ↳ | [android.content.ContextWrapper](https://developer.android.com/reference/android/content/ContextWrapper.html) ||||
|   |   | ↳ | [android.view.ContextThemeWrapper](https://developer.android.com/reference/android/view/ContextThemeWrapper.html) |||
|   |   |   | ↳ | [android.app.Activity](https://developer.android.com/reference/android/app/Activity.html) ||
|   |   |   |   | ↳ | [androidx.activity.ComponentActivity](https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity) |

Known direct subclasses [FragmentActivity](https://developer.android.com/reference/kotlin/androidx/fragment/app/FragmentActivity), [PreviewActivity](https://developer.android.com/reference/kotlin/androidx/compose/ui/tooling/PreviewActivity)

|---|---|
| `https://developer.android.com/reference/kotlin/androidx/fragment/app/FragmentActivity` | Base class for activities that want to use the support-based `https://developer.android.com/reference/kotlin/androidx/fragment/app/Fragment`. |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/tooling/PreviewActivity` | Activity used to run `@Composable` previews from Android Studio. |

Known indirect subclasses [AppCompatActivity](https://developer.android.com/reference/kotlin/androidx/appcompat/app/AppCompatActivity), [BaseCarAppActivity](https://developer.android.com/reference/kotlin/androidx/car/app/activity/BaseCarAppActivity), [CarAppActivity](https://developer.android.com/reference/kotlin/androidx/car/app/activity/CarAppActivity), [LauncherActivity](https://developer.android.com/reference/kotlin/androidx/car/app/activity/LauncherActivity)

|---|---|
| `https://developer.android.com/reference/kotlin/androidx/appcompat/app/AppCompatActivity` | Base class for activities that wish to use some of the newer platform features on older Android devices. |
| `https://developer.android.com/reference/kotlin/androidx/car/app/activity/BaseCarAppActivity` | Core logic for CarAppLibrary Activity interaction with a host. |
| `https://developer.android.com/reference/kotlin/androidx/car/app/activity/CarAppActivity` | The class representing a car app activity in the main display. |
| `https://developer.android.com/reference/kotlin/androidx/car/app/activity/LauncherActivity` | This class handles providing the right launcher activity when running native applications and Car App Library applications. |

*** ** * ** ***

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

Rather than all functionality being built directly into this class, only the minimal set of lower level building blocks are included. Higher level components can then be used as needed without enforcing a deep Activity class hierarchy or strong coupling between components.

## Summary

| ### Public constructors |
|---|
| `https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity#ComponentActivity()()` |
| `@https://developer.android.com/reference/kotlin/androidx/annotation/ContentView https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity#ComponentActivity(kotlin.Int)(contentLayoutId: @https://developer.android.com/reference/kotlin/androidx/annotation/LayoutRes https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` Alternate constructor that can be used to provide a default layout that will be inflated as part of `super.onCreate(savedInstanceState)`. |

| ### Public functions |
|---|---|
| `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity#addContentView(android.view.View,android.view.ViewGroup.LayoutParams)(view: https://developer.android.com/reference/android/view/View.html?, params: https://developer.android.com/reference/android/view/ViewGroup.LayoutParams.html?)` |
| `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity#addMenuProvider(androidx.core.view.MenuProvider)(provider: https://developer.android.com/reference/kotlin/androidx/core/view/MenuProvider)` Adds the given `https://developer.android.com/reference/kotlin/androidx/core/view/MenuProvider` to this `https://developer.android.com/reference/kotlin/androidx/core/view/MenuHost`. |
| `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity#addMenuProvider(androidx.core.view.MenuProvider,androidx.lifecycle.LifecycleOwner)(provider: https://developer.android.com/reference/kotlin/androidx/core/view/MenuProvider, owner: https://developer.android.com/reference/kotlin/androidx/lifecycle/LifecycleOwner)` Adds the given `https://developer.android.com/reference/kotlin/androidx/core/view/MenuProvider` to this `https://developer.android.com/reference/kotlin/androidx/core/view/MenuHost`. |
| `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity#addMenuProvider(androidx.core.view.MenuProvider,androidx.lifecycle.LifecycleOwner,androidx.lifecycle.Lifecycle.State)( provider: https://developer.android.com/reference/kotlin/androidx/core/view/MenuProvider, owner: https://developer.android.com/reference/kotlin/androidx/lifecycle/LifecycleOwner, state: https://developer.android.com/reference/kotlin/androidx/lifecycle/Lifecycle.State )` Adds the given `https://developer.android.com/reference/kotlin/androidx/core/view/MenuProvider` to this `https://developer.android.com/reference/kotlin/androidx/core/view/MenuHost` once the given `https://developer.android.com/reference/kotlin/androidx/lifecycle/LifecycleOwner` reaches the given `https://developer.android.com/reference/kotlin/androidx/lifecycle/Lifecycle.State`. |
| `final https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity#addOnConfigurationChangedListener(androidx.core.util.Consumer)(listener: https://developer.android.com/reference/kotlin/androidx/core/util/Consumer<https://developer.android.com/reference/android/content/res/Configuration.html>)` Add a new listener that will get a callback associated with `https://developer.android.com/reference/android/content/ComponentCallbacks.html#onConfigurationChanged(android.content.res.Configuration)` with the new `https://developer.android.com/reference/android/content/res/Configuration.html`. |
| `final https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity#addOnContextAvailableListener(androidx.activity.contextaware.OnContextAvailableListener)(listener: https://developer.android.com/reference/kotlin/androidx/activity/contextaware/OnContextAvailableListener)` {@inheritDoc} |
| `final https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity#addOnMultiWindowModeChangedListener(androidx.core.util.Consumer)( listener: https://developer.android.com/reference/kotlin/androidx/core/util/Consumer<https://developer.android.com/reference/kotlin/androidx/core/app/MultiWindowModeChangedInfo> )` Add a new listener that will get a callback associated with `https://developer.android.com/reference/android/app/Activity.html#onMultiWindowModeChanged(boolean)` with the new `https://developer.android.com/reference/kotlin/androidx/core/app/MultiWindowModeChangedInfo`. |
| `final https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity#addOnNewIntentListener(androidx.core.util.Consumer)(listener: https://developer.android.com/reference/kotlin/androidx/core/util/Consumer<https://developer.android.com/reference/android/content/Intent.html>)` Add a new listener that will get a callback associated with `https://developer.android.com/reference/android/app/Activity.html#onNewIntent(android.content.Intent)` with the new `https://developer.android.com/reference/android/content/Intent.html`. |
| `final https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity#addOnPictureInPictureModeChangedListener(androidx.core.util.Consumer)( listener: https://developer.android.com/reference/kotlin/androidx/core/util/Consumer<https://developer.android.com/reference/kotlin/androidx/core/app/PictureInPictureModeChangedInfo> )` Add a new listener that will get a callback associated with `https://developer.android.com/reference/android/app/Activity.html#onPictureInPictureModeChanged(boolean)` with the new `https://developer.android.com/reference/kotlin/androidx/core/app/PictureInPictureModeChangedInfo`. |
| `final https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity#addOnPictureInPictureUiStateChangedListener(androidx.core.util.Consumer)( listener: https://developer.android.com/reference/kotlin/androidx/core/util/Consumer<https://developer.android.com/reference/kotlin/androidx/core/app/PictureInPictureUiStateCompat> )` Add a new listener that will get a callback associated with `https://developer.android.com/reference/android/app/Activity.html#onPictureInPictureUiStateChanged(android.app.PictureInPictureUiState)` with the new `https://developer.android.com/reference/kotlin/androidx/core/app/PictureInPictureUiStateCompat`. |
| `final https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity#addOnTrimMemoryListener(androidx.core.util.Consumer)(listener: https://developer.android.com/reference/kotlin/androidx/core/util/Consumer<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html>)` Add a new listener that will get a callback associated with `https://developer.android.com/reference/android/content/ComponentCallbacks2.html#onTrimMemory(int)` with the `int` representing the level of trimming. |
| `final https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity#addOnUserLeaveHintListener(java.lang.Runnable)(listener: https://developer.android.com/reference/java/lang/Runnable.html)` Add a new listener that will get a callback associated with `https://developer.android.com/reference/android/app/Activity.html#onUserLeaveHint()` |
| `final https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity#enterPictureInPictureMode(androidx.core.app.PictureInPictureParamsCompat)(params: https://developer.android.com/reference/kotlin/androidx/core/app/PictureInPictureParamsCompat)` Available since API 24 in the framework Activity class, puts the activity in picture-in-picture mode if possible in the current system state. |
| `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `@https://developer.android.com/reference/kotlin/androidx/annotation/CallSuper https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity#initializeViewTreeOwners()()` Sets the view tree owners before setting the content view so that the inflation process and attach listeners will see them already present. |
| `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity#invalidateMenu()()` Invalidates the `https://developer.android.com/reference/android/view/Menu.html` to ensure that what is displayed matches the current internal state of the menu. |
| `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `@https://developer.android.com/reference/kotlin/androidx/annotation/MainThread @https://developer.android.com/reference/kotlin/androidx/annotation/CallSuper [onBackPressed](https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity#onBackPressed())()` **This function is deprecated.** This method has been deprecated in favor of using the {@link OnBackPressedDispatcher} via {@link #getOnBackPressedDispatcher()}. |
| `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `@https://developer.android.com/reference/kotlin/androidx/annotation/CallSuper https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity#onConfigurationChanged(android.content.res.Configuration)(newConfig: https://developer.android.com/reference/android/content/res/Configuration.html)` {@inheritDoc} |
| `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity#onCreatePanelMenu(kotlin.Int,android.view.Menu)(featureId: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, menu: https://developer.android.com/reference/android/view/Menu.html)` |
| `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity#onMenuItemSelected(kotlin.Int,android.view.MenuItem)(featureId: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, item: https://developer.android.com/reference/android/view/MenuItem.html)` |
| `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `@https://developer.android.com/reference/kotlin/androidx/annotation/CallSuper [onMultiWindowModeChanged](https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity#onMultiWindowModeChanged(kotlin.Boolean))(isInMultiWindowMode: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)` **This function is deprecated.** Deprecated in android.app.Activity |
| `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `@https://developer.android.com/reference/kotlin/androidx/annotation/RequiresApi(api = 26) @https://developer.android.com/reference/kotlin/androidx/annotation/CallSuper https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity#onMultiWindowModeChanged(kotlin.Boolean,android.content.res.Configuration)( isInMultiWindowMode: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html, newConfig: https://developer.android.com/reference/android/content/res/Configuration.html )` {@inheritDoc} |
| `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity#onPanelClosed(kotlin.Int,android.view.Menu)(featureId: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, menu: https://developer.android.com/reference/android/view/Menu.html)` |
| `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `@https://developer.android.com/reference/kotlin/androidx/annotation/CallSuper [onPictureInPictureModeChanged](https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity#onPictureInPictureModeChanged(kotlin.Boolean))(isInPictureInPictureMode: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)` **This function is deprecated.** Deprecated in android.app.Activity |
| `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `@https://developer.android.com/reference/kotlin/androidx/annotation/RequiresApi(api = 26) @https://developer.android.com/reference/kotlin/androidx/annotation/CallSuper https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity#onPictureInPictureModeChanged(kotlin.Boolean,android.content.res.Configuration)( isInPictureInPictureMode: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html, newConfig: https://developer.android.com/reference/android/content/res/Configuration.html )` {@inheritDoc} |
| `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `@https://developer.android.com/reference/kotlin/androidx/annotation/RequiresApi(api = 31) @https://developer.android.com/reference/kotlin/androidx/annotation/CallSuper https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity#onPictureInPictureUiStateChanged(android.app.PictureInPictureUiState)(pipState: https://developer.android.com/reference/android/app/PictureInPictureUiState.html)` {@inheritDoc} |
| `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity#onPreparePanel(kotlin.Int,android.view.View,android.view.Menu)(featureId: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, view: https://developer.android.com/reference/android/view/View.html?, menu: https://developer.android.com/reference/android/view/Menu.html)` |
| `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `@https://developer.android.com/reference/kotlin/androidx/annotation/CallSuper [onRequestPermissionsResult](https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity#onRequestPermissionsResult(kotlin.Int,kotlin.Array,kotlin.IntArray))( requestCode: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, permissions: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-array/index.html<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html>, grantResults: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int-array/index.html )` **This function is deprecated.** This method has been deprecated in favor of using the Activity Result API which brings increased type safety via an {@link ActivityResultContract} and the prebuilt contracts for common intents available in {@link androidx.activity.result.contract.ActivityResultContracts}, provides hooks for testing, and allow receiving results in separate, testable classes independent from your activity. |
| `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html?` | `[onRetainCustomNonConfigurationInstance](https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity#onRetainCustomNonConfigurationInstance())()` **This function is deprecated.** Use a {@link androidx.lifecycle.ViewModel} to store non config state. |
| `final https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html?` | `https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity#onRetainNonConfigurationInstance()()` Retain all appropriate non-config state. |
| `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `@https://developer.android.com/reference/kotlin/androidx/annotation/CallSuper https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity#onTrimMemory(kotlin.Int)(level: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` {@inheritDoc} |
| `open https://developer.android.com/reference/android/content/Context.html?` | `https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity#peekAvailableContext()()` Get the `https://developer.android.com/reference/android/content/Context.html` if it is currently available. |
| `final https://developer.android.com/reference/kotlin/androidx/activity/result/ActivityResultLauncher<I>` | `<I : https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html?, O : https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html?> https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity#registerForActivityResult(androidx.activity.result.contract.ActivityResultContract,androidx.activity.result.ActivityResultCallback)( contract: https://developer.android.com/reference/kotlin/androidx/activity/result/contract/ActivityResultContract<I, O>, callback: https://developer.android.com/reference/kotlin/androidx/activity/result/ActivityResultCallback<O> )` Register a request to `https://developer.android.com/reference/android/app/Activity.html#startActivityForResult(android.content.Intent, int)`, designated by the given `https://developer.android.com/reference/kotlin/androidx/activity/result/contract/ActivityResultContract`. |
| `final https://developer.android.com/reference/kotlin/androidx/activity/result/ActivityResultLauncher<I>` | `<I : https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html?, O : https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html?> https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity#registerForActivityResult(androidx.activity.result.contract.ActivityResultContract,androidx.activity.result.ActivityResultRegistry,androidx.activity.result.ActivityResultCallback)( contract: https://developer.android.com/reference/kotlin/androidx/activity/result/contract/ActivityResultContract<I, O>, registry: https://developer.android.com/reference/kotlin/androidx/activity/result/ActivityResultRegistry, callback: https://developer.android.com/reference/kotlin/androidx/activity/result/ActivityResultCallback<O> )` Register a request to `https://developer.android.com/reference/android/app/Activity.html#startActivityForResult(android.content.Intent, int)`, designated by the given `https://developer.android.com/reference/kotlin/androidx/activity/result/contract/ActivityResultContract`. |
| `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity#removeMenuProvider(androidx.core.view.MenuProvider)(provider: https://developer.android.com/reference/kotlin/androidx/core/view/MenuProvider)` Removes the given `https://developer.android.com/reference/kotlin/androidx/core/view/MenuProvider` from this `https://developer.android.com/reference/kotlin/androidx/core/view/MenuHost`. |
| `final https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity#removeOnConfigurationChangedListener(androidx.core.util.Consumer)(listener: https://developer.android.com/reference/kotlin/androidx/core/util/Consumer<https://developer.android.com/reference/android/content/res/Configuration.html>)` Remove a previously added listener. |
| `final https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity#removeOnContextAvailableListener(androidx.activity.contextaware.OnContextAvailableListener)(listener: https://developer.android.com/reference/kotlin/androidx/activity/contextaware/OnContextAvailableListener)` Remove a `https://developer.android.com/reference/kotlin/androidx/activity/contextaware/OnContextAvailableListener` previously added via `https://developer.android.com/reference/kotlin/androidx/activity/contextaware/ContextAware#addOnContextAvailableListener(androidx.activity.contextaware.OnContextAvailableListener)`. |
| `final https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity#removeOnMultiWindowModeChangedListener(androidx.core.util.Consumer)( listener: https://developer.android.com/reference/kotlin/androidx/core/util/Consumer<https://developer.android.com/reference/kotlin/androidx/core/app/MultiWindowModeChangedInfo> )` Remove a previously added listener. |
| `final https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity#removeOnNewIntentListener(androidx.core.util.Consumer)(listener: https://developer.android.com/reference/kotlin/androidx/core/util/Consumer<https://developer.android.com/reference/android/content/Intent.html>)` Remove a previously added listener. |
| `final https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity#removeOnPictureInPictureModeChangedListener(androidx.core.util.Consumer)( listener: https://developer.android.com/reference/kotlin/androidx/core/util/Consumer<https://developer.android.com/reference/kotlin/androidx/core/app/PictureInPictureModeChangedInfo> )` Remove a previously added listener. |
| `final https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity#removeOnPictureInPictureUiStateChangedListener(androidx.core.util.Consumer)( listener: https://developer.android.com/reference/kotlin/androidx/core/util/Consumer<https://developer.android.com/reference/kotlin/androidx/core/app/PictureInPictureUiStateCompat> )` Remove a previously added listener. |
| `final https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity#removeOnTrimMemoryListener(androidx.core.util.Consumer)(listener: https://developer.android.com/reference/kotlin/androidx/core/util/Consumer<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html>)` Remove a previously added listener. |
| `final https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity#removeOnUserLeaveHintListener(java.lang.Runnable)(listener: https://developer.android.com/reference/java/lang/Runnable.html)` Remove a previously added listener. |
| `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity#reportFullyDrawn()()` |
| `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity#setContentView(kotlin.Int)(layoutResID: @https://developer.android.com/reference/kotlin/androidx/annotation/LayoutRes https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` |
| `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity#setContentView(android.view.View)(view: https://developer.android.com/reference/android/view/View.html?)` |
| `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity#setContentView(android.view.View,android.view.ViewGroup.LayoutParams)(view: https://developer.android.com/reference/android/view/View.html?, params: https://developer.android.com/reference/android/view/ViewGroup.LayoutParams.html?)` |
| `final https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity#setPictureInPictureParams(androidx.core.app.PictureInPictureParamsCompat)(params: https://developer.android.com/reference/kotlin/androidx/core/app/PictureInPictureParamsCompat)` Available since API 26 in the framework Activity class, updates the properties of the picture-in-picture activity, or sets it to be used later when `https://developer.android.com/reference/kotlin/androidx/core/app/PictureInPictureProvider#enterPictureInPictureMode(androidx.core.app.PictureInPictureParamsCompat)` is called |
| `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `[startActivityForResult](https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity#startActivityForResult(android.content.Intent,kotlin.Int))(intent: https://developer.android.com/reference/android/content/Intent.html, requestCode: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` **This function is deprecated.** This method has been deprecated in favor of using the Activity Result API which brings increased type safety via an {@link ActivityResultContract} and the prebuilt contracts for common intents available in {@link androidx.activity.result.contract.ActivityResultContracts}, provides hooks for testing, and allow receiving results in separate, testable classes independent from your activity. |
| `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `[startActivityForResult](https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity#startActivityForResult(android.content.Intent,kotlin.Int,android.os.Bundle))(intent: https://developer.android.com/reference/android/content/Intent.html, requestCode: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, options: https://developer.android.com/reference/android/os/Bundle.html?)` **This function is deprecated.** This method has been deprecated in favor of using the Activity Result API which brings increased type safety via an {@link ActivityResultContract} and the prebuilt contracts for common intents available in {@link androidx.activity.result.contract.ActivityResultContracts}, provides hooks for testing, and allow receiving results in separate, testable classes independent from your activity. |
| `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `[startIntentSenderForResult](https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity#startIntentSenderForResult(android.content.IntentSender,kotlin.Int,android.content.Intent,kotlin.Int,kotlin.Int,kotlin.Int))( intent: https://developer.android.com/reference/android/content/IntentSender.html, requestCode: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, fillInIntent: https://developer.android.com/reference/android/content/Intent.html?, flagsMask: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, flagsValues: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, extraFlags: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html )` **This function is deprecated.** This method has been deprecated in favor of using the Activity Result API which brings increased type safety via an {@link ActivityResultContract} and the prebuilt contracts for common intents available in {@link androidx.activity.result.contract.ActivityResultContracts}, provides hooks for testing, and allow receiving results in separate, testable classes independent from your activity. |
| `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `[startIntentSenderForResult](https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity#startIntentSenderForResult(android.content.IntentSender,kotlin.Int,android.content.Intent,kotlin.Int,kotlin.Int,kotlin.Int,android.os.Bundle))( intent: https://developer.android.com/reference/android/content/IntentSender.html, requestCode: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, fillInIntent: https://developer.android.com/reference/android/content/Intent.html?, flagsMask: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, flagsValues: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, extraFlags: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, options: https://developer.android.com/reference/android/os/Bundle.html? )` **This function is deprecated.** This method has been deprecated in favor of using the Activity Result API which brings increased type safety via an {@link ActivityResultContract} and the prebuilt contracts for common intents available in {@link androidx.activity.result.contract.ActivityResultContracts}, provides hooks for testing, and allow receiving results in separate, testable classes independent from your activity. |

| ### Protected functions |
|---|---|
| `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `@https://developer.android.com/reference/kotlin/androidx/annotation/CallSuper [onActivityResult](https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity#onActivityResult(kotlin.Int,kotlin.Int,android.content.Intent))(requestCode: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, resultCode: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, data: https://developer.android.com/reference/android/content/Intent.html?)` **This function is deprecated.** This method has been deprecated in favor of using the Activity Result API which brings increased type safety via an {@link ActivityResultContract} and the prebuilt contracts for common intents available in {@link androidx.activity.result.contract.ActivityResultContracts}, provides hooks for testing, and allow receiving results in separate, testable classes independent from your activity. |
| `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity#onCreate(android.os.Bundle)(savedInstanceState: https://developer.android.com/reference/android/os/Bundle.html?)` {@inheritDoc} |
| `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `@https://developer.android.com/reference/kotlin/androidx/annotation/CallSuper https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity#onNewIntent(android.content.Intent)(intent: https://developer.android.com/reference/android/content/Intent.html)` {@inheritDoc} |
| `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `@https://developer.android.com/reference/kotlin/androidx/annotation/CallSuper https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity#onSaveInstanceState(android.os.Bundle)(outState: https://developer.android.com/reference/android/os/Bundle.html)` |
| `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `@https://developer.android.com/reference/kotlin/androidx/annotation/CallSuper https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity#onUserLeaveHint()()` {@inheritDoc} |

| ### Public properties |
|---|---|
| `final https://developer.android.com/reference/kotlin/androidx/activity/result/ActivityResultRegistry` | `https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity#activityResultRegistry()` Get the `https://developer.android.com/reference/kotlin/androidx/activity/result/ActivityResultRegistry` associated with this activity. |
| `open https://developer.android.com/reference/android/os/Bundle.html?` | `https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity#defaultViewModelArgs()` The default arguments `https://developer.android.com/reference/android/os/Bundle.html` to pass to `https://developer.android.com/reference/kotlin/androidx/lifecycle/package-summary#DEFAULT_ARGS_KEY()` in `https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity#defaultViewModelCreationExtras()`. |
| `open https://developer.android.com/reference/kotlin/androidx/lifecycle/viewmodel/CreationExtras` | `https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity#defaultViewModelCreationExtras()` |
| `open https://developer.android.com/reference/kotlin/androidx/lifecycle/ViewModelProvider.Factory` | `https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity#defaultViewModelProviderFactory()` |
| `open https://developer.android.com/reference/kotlin/androidx/activity/FullyDrawnReporter` | `https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity#fullyDrawnReporter()` Retrieve the `https://developer.android.com/reference/kotlin/androidx/activity/FullyDrawnReporter` that should handle the independent parts of the UI that separately report that they are fully drawn. |
| `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html?` | `https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity#lastCustomNonConfigurationInstance()` **This property is deprecated.** Use a {@link androidx.lifecycle.ViewModel} to store non config state. |
| `open https://developer.android.com/reference/kotlin/androidx/lifecycle/Lifecycle` | `https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity#lifecycle()` {@inheritDoc} |
| `open https://developer.android.com/reference/kotlin/androidx/navigationevent/NavigationEventDispatcher` | `https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity#navigationEventDispatcher()` Lazily provides a `https://developer.android.com/reference/kotlin/androidx/navigationevent/NavigationEventDispatcher` for back navigation handling, including support for predictive back gestures introduced in Android 13 (API 33+). |
| `final https://developer.android.com/reference/kotlin/androidx/activity/OnBackPressedDispatcher` | `https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity#onBackPressedDispatcher()` Retrieve the `https://developer.android.com/reference/kotlin/androidx/activity/OnBackPressedDispatcher` that will be triggered when `https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity#onBackPressed()` is called. |
| `final https://developer.android.com/reference/kotlin/androidx/savedstate/SavedStateRegistry` | `https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity#savedStateRegistry()` |
| `open https://developer.android.com/reference/kotlin/androidx/lifecycle/ViewModelStore` | `https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity#viewModelStore()` |

| ### Extension functions |
|---|---|
| `suspend https://developer.android.com/reference/kotlin/androidx/xr/compose/platform/SpaceRequestResult` | `https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity.https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity#(androidx.activity.ComponentActivity).requestFullSpace()()` Request that the system place the application into full space. |
| `suspend https://developer.android.com/reference/kotlin/androidx/xr/compose/platform/SpaceRequestResult` | `https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity.https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity#(androidx.activity.ComponentActivity).requestHomeSpace()()` Request that the system place the application into home space. |
| `inline https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-lazy/index.html<VM>` | `@https://developer.android.com/reference/kotlin/androidx/annotation/MainThread <VM : https://developer.android.com/reference/kotlin/androidx/lifecycle/ViewModel> https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity.https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity#(androidx.activity.ComponentActivity).viewModels(kotlin.Function0,kotlin.Function0)( noinline extrasProducer: (() -> https://developer.android.com/reference/kotlin/androidx/lifecycle/viewmodel/CreationExtras)?, noinline factoryProducer: (() -> https://developer.android.com/reference/kotlin/androidx/lifecycle/ViewModelProvider.Factory)? )` Returns a `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-lazy/index.html` delegate to access the ComponentActivity's ViewModel, if `https://developer.android.com/reference/kotlin/androidx/activity/package-summary#(androidx.activity.ComponentActivity).viewModels(kotlin.Function0,kotlin.Function0)` is specified then `https://developer.android.com/reference/kotlin/androidx/lifecycle/ViewModelProvider.Factory` returned by it will be used to create `https://developer.android.com/reference/kotlin/androidx/lifecycle/ViewModel` first time. |
| `inline https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-lazy/index.html<T>` | `@https://developer.android.com/reference/kotlin/androidx/annotation/MainThread <T : https://developer.android.com/reference/kotlin/androidx/lifecycle/ViewModel> https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity.https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity#(androidx.activity.ComponentActivity).viewModels(kotlin.String,kotlin.Function0,kotlin.Function0)( key: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html, noinline extrasProducer: (() -> https://developer.android.com/reference/kotlin/androidx/lifecycle/viewmodel/CreationExtras)?, noinline factoryProducer: (() -> https://developer.android.com/reference/kotlin/androidx/lifecycle/ViewModelProvider.Factory)? )` Returns a `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-lazy/index.html` delegate for this `https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity`'s `https://developer.android.com/reference/kotlin/androidx/lifecycle/ViewModel` identified by `https://developer.android.com/reference/kotlin/androidx/activity/package-summary#(androidx.activity.ComponentActivity).viewModels(kotlin.String,kotlin.Function0,kotlin.Function0)`. |
| `https://developer.android.com/reference/kotlin/androidx/biometric/AuthenticationResultLauncher` | `https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity.https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity#(androidx.activity.ComponentActivity).registerForAuthenticationResult(androidx.biometric.AuthenticationResultCallback)( resultCallback: https://developer.android.com/reference/kotlin/androidx/biometric/AuthenticationResultCallback )` Returns an `https://developer.android.com/reference/kotlin/androidx/biometric/AuthenticationResultLauncher` that can be used to initiate authentication. |
| `https://developer.android.com/reference/kotlin/androidx/biometric/AuthenticationResultLauncher` | `https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity.https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity#(androidx.activity.ComponentActivity).registerForAuthenticationResult(java.util.concurrent.Executor,androidx.biometric.AuthenticationResultCallback)( callbackExecutor: https://developer.android.com/reference/java/util/concurrent/Executor.html, resultCallback: https://developer.android.com/reference/kotlin/androidx/biometric/AuthenticationResultCallback )` Returns an `https://developer.android.com/reference/kotlin/androidx/biometric/AuthenticationResultLauncher` that can be used to initiate authentication. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity.https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity#(androidx.activity.ComponentActivity).setContent(androidx.compose.runtime.CompositionContext,kotlin.Function0)( parent: https://developer.android.com/reference/kotlin/androidx/compose/runtime/CompositionContext?, content: @https://developer.android.com/reference/kotlin/androidx/compose/runtime/Composable () -> https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html )` Composes the given composable into the given activity. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity.https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity#(androidx.activity.ComponentActivity).disablePipOnAppSwitch(androidx.core.pip.contentpip.ContentPipToken)( contentPipToken: https://developer.android.com/reference/kotlin/androidx/core/pip/contentpip/ContentPipToken )` Disables entering PiP on app switch for this Activity with Content PiP. |
| `https://developer.android.com/reference/kotlin/androidx/core/pip/contentpip/ContentPipToken` | `https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity.https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity#(androidx.activity.ComponentActivity).enablePipOnAppSwitch(androidx.core.pip.contentpip.ContentPipCallback)(callback: https://developer.android.com/reference/kotlin/androidx/core/pip/contentpip/ContentPipCallback)` Enables entering PiP on app switch for this Activity with Content PiP. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity.[enableEdgeToEdge](https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity#(androidx.activity.ComponentActivity).enableEdgeToEdge(androidx.activity.SystemBarStyle,androidx.activity.SystemBarStyle))( statusBarStyle: https://developer.android.com/reference/kotlin/androidx/activity/SystemBarStyle, navigationBarStyle: https://developer.android.com/reference/kotlin/androidx/activity/SystemBarStyle )` **This function is deprecated.** Use {@link WindowCompat#enableEdgeToEdge(Window)} to enable edge-to-edge display. |

### Inherited functions

From [android.app.Activity](https://developer.android.com/reference/android/app/Activity.html) `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#attachBaseContext(android.content.Context)(newBase: https://developer.android.com/reference/android/content/Context.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#clearOverrideActivityTransition(int)(overrideType: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#closeContextMenu()()` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#closeOptionsMenu()()` `https://developer.android.com/reference/android/app/PendingIntent.html` `https://developer.android.com/reference/android/app/Activity.html#createPendingResult(int, android.content.Intent, int)(requestCode: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, data: https://developer.android.com/reference/android/content/Intent.html, flags: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#dismissDialog(int)(id: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#dismissKeyboardShortcutsHelper()()` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` `https://developer.android.com/reference/android/app/Activity.html#dispatchGenericMotionEvent(android.view.MotionEvent)(ev: https://developer.android.com/reference/android/view/MotionEvent.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` `https://developer.android.com/reference/android/app/Activity.html#dispatchPopulateAccessibilityEvent(android.view.accessibility.AccessibilityEvent)(event: https://developer.android.com/reference/android/view/accessibility/AccessibilityEvent.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` `https://developer.android.com/reference/android/app/Activity.html#dispatchTouchEvent(android.view.MotionEvent)(ev: https://developer.android.com/reference/android/view/MotionEvent.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` `https://developer.android.com/reference/android/app/Activity.html#dispatchTrackballEvent(android.view.MotionEvent)(ev: https://developer.android.com/reference/android/view/MotionEvent.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#dump(java.lang.String, java.io.FileDescriptor, java.io.PrintWriter, java.lang.String[])(
prefix: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html,
fd: https://developer.android.com/reference/java/io/FileDescriptor.html?,
writer: https://developer.android.com/reference/java/io/PrintWriter.html,
args: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-array/index.html<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html>?
)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#enterPictureInPictureMode()()` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` `https://developer.android.com/reference/android/app/Activity.html#enterPictureInPictureMode(android.app.PictureInPictureParams)(params: https://developer.android.com/reference/android/app/PictureInPictureParams.html)` `T` `<T : https://developer.android.com/reference/android/view/View.html> https://developer.android.com/reference/android/app/Activity.html#findViewById(int)(id: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#finish()()` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#finishActivity(int)(requestCode: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#finishActivityFromChild(android.app.Activity, int)(child: https://developer.android.com/reference/android/app/Activity.html, requestCode: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#finishAffinity()()` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#finishAfterTransition()()` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#finishAndRemoveTask()()` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#finishFromChild(android.app.Activity)(child: https://developer.android.com/reference/android/app/Activity.html)` `https://developer.android.com/reference/android/content/SharedPreferences.html` `https://developer.android.com/reference/android/app/Activity.html#getPreferences(int)(mode: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html` `https://developer.android.com/reference/android/app/Activity.html#getSystemService(java.lang.String)(name: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` `https://developer.android.com/reference/android/app/Activity.html#hasWindowFocus()()` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#invalidateOptionsMenu()()` `https://developer.android.com/reference/android/database/Cursor.html` `https://developer.android.com/reference/android/app/Activity.html#managedQuery(android.net.Uri, java.lang.String[], java.lang.String, java.lang.String[], java.lang.String)(
uri: https://developer.android.com/reference/android/net/Uri.html,
projection: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-array/index.html<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html>,
selection: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html,
selectionArgs: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-array/index.html<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html>,
sortOrder: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html
)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` `https://developer.android.com/reference/android/app/Activity.html#moveTaskToBack(boolean)(nonRoot: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` `https://developer.android.com/reference/android/app/Activity.html#navigateUpTo(android.content.Intent)(upIntent: https://developer.android.com/reference/android/content/Intent.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` `https://developer.android.com/reference/android/app/Activity.html#navigateUpToFromChild(android.app.Activity, android.content.Intent)(child: https://developer.android.com/reference/android/app/Activity.html, upIntent: https://developer.android.com/reference/android/content/Intent.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#onActionModeFinished(android.view.ActionMode)(mode: https://developer.android.com/reference/android/view/ActionMode.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#onActionModeStarted(android.view.ActionMode)(mode: https://developer.android.com/reference/android/view/ActionMode.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#onActivityReenter(int, android.content.Intent)(resultCode: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, data: https://developer.android.com/reference/android/content/Intent.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#onActivityResult(int, int, android.content.Intent, android.app.ComponentCaller)(
requestCode: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html,
resultCode: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html,
data: https://developer.android.com/reference/android/content/Intent.html?,
caller: https://developer.android.com/reference/android/app/ComponentCaller.html
)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#onApplyThemeResource(android.content.res.Resources.Theme, int, boolean)(theme: https://developer.android.com/reference/android/content/res/Resources.Theme.html, resid: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, first: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#onAttachFragment(android.app.Fragment)(fragment: https://developer.android.com/reference/android/app/Fragment.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#onAttachedToWindow()()` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#onChildTitleChanged(android.app.Activity, java.lang.CharSequence)(childActivity: https://developer.android.com/reference/android/app/Activity.html, title: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-char-sequence/index.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#onContentChanged()()` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` `https://developer.android.com/reference/android/app/Activity.html#onContextItemSelected(android.view.MenuItem)(item: https://developer.android.com/reference/android/view/MenuItem.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#onContextMenuClosed(android.view.Menu)(menu: https://developer.android.com/reference/android/view/Menu.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#onCreate(android.os.Bundle, android.os.PersistableBundle)(savedInstanceState: https://developer.android.com/reference/android/os/Bundle.html?, persistentState: https://developer.android.com/reference/android/os/PersistableBundle.html?)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#onCreateContextMenu(android.view.ContextMenu, android.view.View, android.view.ContextMenu.ContextMenuInfo)(
menu: https://developer.android.com/reference/android/view/ContextMenu.html,
v: https://developer.android.com/reference/android/view/View.html,
menuInfo: https://developer.android.com/reference/android/view/ContextMenu.ContextMenuInfo.html
)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-char-sequence/index.html?` `https://developer.android.com/reference/android/app/Activity.html#onCreateDescription()()` `https://developer.android.com/reference/android/app/Dialog.html` `https://developer.android.com/reference/android/app/Activity.html#onCreateDialog(int)(id: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` `https://developer.android.com/reference/android/app/Dialog.html?` `https://developer.android.com/reference/android/app/Activity.html#onCreateDialog(int, android.os.Bundle)(id: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, args: https://developer.android.com/reference/android/os/Bundle.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#onCreateNavigateUpTaskStack(android.app.TaskStackBuilder)(builder: https://developer.android.com/reference/android/app/TaskStackBuilder.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` `https://developer.android.com/reference/android/app/Activity.html#onCreateOptionsMenu(android.view.Menu)(menu: https://developer.android.com/reference/android/view/Menu.html)` `https://developer.android.com/reference/android/view/View.html?` `https://developer.android.com/reference/android/app/Activity.html#onCreatePanelView(int)(featureId: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` `https://developer.android.com/reference/android/app/Activity.html#onCreateThumbnail(android.graphics.Bitmap, android.graphics.Canvas)(outBitmap: https://developer.android.com/reference/android/graphics/Bitmap.html, canvas: https://developer.android.com/reference/android/graphics/Canvas.html)` `https://developer.android.com/reference/android/view/View.html?` `https://developer.android.com/reference/android/app/Activity.html#onCreateView(java.lang.String, android.content.Context, android.util.AttributeSet)(name: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html, context: https://developer.android.com/reference/android/content/Context.html, attrs: https://developer.android.com/reference/android/util/AttributeSet.html)` `https://developer.android.com/reference/android/view/View.html?` `https://developer.android.com/reference/android/app/Activity.html#onCreateView(android.view.View, java.lang.String, android.content.Context, android.util.AttributeSet)(
parent: https://developer.android.com/reference/android/view/View.html?,
name: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html,
context: https://developer.android.com/reference/android/content/Context.html,
attrs: https://developer.android.com/reference/android/util/AttributeSet.html
)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#onDestroy()()` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#onDetachedFromWindow()()` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#onEnterAnimationComplete()()` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` `https://developer.android.com/reference/android/app/Activity.html#onGenericMotionEvent(android.view.MotionEvent)(event: https://developer.android.com/reference/android/view/MotionEvent.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#onGetDirectActions(android.os.CancellationSignal, java.util.function.Consumer&lt;java.util.List&lt;android.app.DirectAction&gt;&gt;)(
cancellationSignal: https://developer.android.com/reference/android/os/CancellationSignal.html,
callback: https://developer.android.com/reference/java/util/function/Consumer.html<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-mutable-list/index.html<https://developer.android.com/reference/android/app/DirectAction.html>>
)` `https://developer.android.com/reference/android/app/HandoffActivityData.html?` `https://developer.android.com/reference/android/app/Activity.html#onHandoffActivityDataRequested(android.app.HandoffActivityDataRequestInfo)(
requestInfo: https://developer.android.com/reference/android/app/HandoffActivityDataRequestInfo.html
)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` `https://developer.android.com/reference/android/app/Activity.html#onKeyDown(int, android.view.KeyEvent)(keyCode: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, event: https://developer.android.com/reference/android/view/KeyEvent.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` `https://developer.android.com/reference/android/app/Activity.html#onKeyLongPress(int, android.view.KeyEvent)(keyCode: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, event: https://developer.android.com/reference/android/view/KeyEvent.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` `https://developer.android.com/reference/android/app/Activity.html#onKeyMultiple(int, int, android.view.KeyEvent)(keyCode: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, repeatCount: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, event: https://developer.android.com/reference/android/view/KeyEvent.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` `https://developer.android.com/reference/android/app/Activity.html#onKeyShortcut(int, android.view.KeyEvent)(keyCode: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, event: https://developer.android.com/reference/android/view/KeyEvent.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` `https://developer.android.com/reference/android/app/Activity.html#onKeyUp(int, android.view.KeyEvent)(keyCode: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, event: https://developer.android.com/reference/android/view/KeyEvent.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#onLocalVoiceInteractionStarted()()` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#onLocalVoiceInteractionStopped()()` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#onLowMemory()()` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` `https://developer.android.com/reference/android/app/Activity.html#onMenuOpened(int, android.view.Menu)(featureId: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, menu: https://developer.android.com/reference/android/view/Menu.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` `https://developer.android.com/reference/android/app/Activity.html#onNavigateUp()()` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` `https://developer.android.com/reference/android/app/Activity.html#onNavigateUpFromChild(android.app.Activity)(child: https://developer.android.com/reference/android/app/Activity.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#onNewIntent(android.content.Intent, android.app.ComponentCaller)(intent: https://developer.android.com/reference/android/content/Intent.html, caller: https://developer.android.com/reference/android/app/ComponentCaller.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` `https://developer.android.com/reference/android/app/Activity.html#onOptionsItemSelected(android.view.MenuItem)(item: https://developer.android.com/reference/android/view/MenuItem.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#onOptionsMenuClosed(android.view.Menu)(menu: https://developer.android.com/reference/android/view/Menu.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#onPause()()` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#onPerformDirectAction(java.lang.String, android.os.Bundle, android.os.CancellationSignal, java.util.function.Consumer&lt;android.os.Bundle&gt;)(
actionId: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html,
arguments: https://developer.android.com/reference/android/os/Bundle.html,
cancellationSignal: https://developer.android.com/reference/android/os/CancellationSignal.html,
resultListener: https://developer.android.com/reference/java/util/function/Consumer.html<https://developer.android.com/reference/android/os/Bundle.html>
)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` `https://developer.android.com/reference/android/app/Activity.html#onPictureInPictureRequested()()` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#onPostCreate(android.os.Bundle)(savedInstanceState: https://developer.android.com/reference/android/os/Bundle.html?)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#onPostCreate(android.os.Bundle, android.os.PersistableBundle)(
savedInstanceState: https://developer.android.com/reference/android/os/Bundle.html?,
persistentState: https://developer.android.com/reference/android/os/PersistableBundle.html?
)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#onPostResume()()` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#onPrepareDialog(int, android.app.Dialog)(id: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, dialog: https://developer.android.com/reference/android/app/Dialog.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#onPrepareDialog(int, android.app.Dialog, android.os.Bundle)(id: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, dialog: https://developer.android.com/reference/android/app/Dialog.html, args: https://developer.android.com/reference/android/os/Bundle.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#onPrepareNavigateUpTaskStack(android.app.TaskStackBuilder)(builder: https://developer.android.com/reference/android/app/TaskStackBuilder.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` `https://developer.android.com/reference/android/app/Activity.html#onPrepareOptionsMenu(android.view.Menu)(menu: https://developer.android.com/reference/android/view/Menu.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#onProvideAssistContent(android.app.assist.AssistContent)(outContent: https://developer.android.com/reference/android/app/assist/AssistContent.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#onProvideAssistData(android.os.Bundle)(data: https://developer.android.com/reference/android/os/Bundle.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#onProvideKeyboardShortcuts(java.util.List&lt;android.view.KeyboardShortcutGroup&gt;, android.view.Menu, int)(
data: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-mutable-list/index.html<https://developer.android.com/reference/android/view/KeyboardShortcutGroup.html>,
menu: https://developer.android.com/reference/android/view/Menu.html?,
deviceId: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html
)` `https://developer.android.com/reference/android/net/Uri.html` `https://developer.android.com/reference/android/app/Activity.html#onProvideReferrer()()` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#onRequestPermissionsResult(int, java.lang.String[], int[], int)(
requestCode: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html,
permissions: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-array/index.html<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html>,
grantResults: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int-array/index.html,
deviceId: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html
)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#onRestart()()` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#onRestoreInstanceState(android.os.Bundle)(savedInstanceState: https://developer.android.com/reference/android/os/Bundle.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#onRestoreInstanceState(android.os.Bundle, android.os.PersistableBundle)(
savedInstanceState: https://developer.android.com/reference/android/os/Bundle.html?,
persistentState: https://developer.android.com/reference/android/os/PersistableBundle.html?
)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#onResume()()` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#onSaveInstanceState(android.os.Bundle, android.os.PersistableBundle)(
outState: https://developer.android.com/reference/android/os/Bundle.html,
outPersistentState: https://developer.android.com/reference/android/os/PersistableBundle.html
)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` `https://developer.android.com/reference/android/app/Activity.html#onSearchRequested()()` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` `https://developer.android.com/reference/android/app/Activity.html#onSearchRequested(android.view.SearchEvent)(searchEvent: https://developer.android.com/reference/android/view/SearchEvent.html?)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#onStart()()` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#onStateNotSaved()()` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#onStop()()` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#onTitleChanged(java.lang.CharSequence, int)(title: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-char-sequence/index.html, color: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#onTopResumedActivityChanged(boolean)(isTopResumedActivity: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` `https://developer.android.com/reference/android/app/Activity.html#onTouchEvent(android.view.MotionEvent)(event: https://developer.android.com/reference/android/view/MotionEvent.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` `https://developer.android.com/reference/android/app/Activity.html#onTrackballEvent(android.view.MotionEvent)(event: https://developer.android.com/reference/android/view/MotionEvent.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#onUserInteraction()()` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#onVisibleBehindCanceled()()` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#onWindowAttributesChanged(android.view.WindowManager.LayoutParams)(params: https://developer.android.com/reference/android/view/WindowManager.LayoutParams.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#onWindowFocusChanged(boolean)(hasFocus: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)` `https://developer.android.com/reference/android/view/ActionMode.html?` `https://developer.android.com/reference/android/app/Activity.html#onWindowStartingActionMode(android.view.ActionMode.Callback)(callback: https://developer.android.com/reference/android/view/ActionMode.Callback.html)` `https://developer.android.com/reference/android/view/ActionMode.html?` `https://developer.android.com/reference/android/app/Activity.html#onWindowStartingActionMode(android.view.ActionMode.Callback, int)(callback: https://developer.android.com/reference/android/view/ActionMode.Callback.html, type: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#openContextMenu(android.view.View)(view: https://developer.android.com/reference/android/view/View.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#openOptionsMenu()()` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#overrideActivityTransition(int, int, int)(
overrideType: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html,
enterAnim: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html,
exitAnim: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html
)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#overrideActivityTransition(int, int, int, int)(
overrideType: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html,
enterAnim: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html,
exitAnim: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html,
backgroundColor: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html
)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#overridePendingTransition(int, int)(enterAnim: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, exitAnim: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#overridePendingTransition(int, int, int)(
enterAnim: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html,
exitAnim: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html,
backgroundColor: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html
)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#postponeEnterTransition()()` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#recreate()()` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#registerActivityLifecycleCallbacks(android.app.Application.ActivityLifecycleCallbacks)(
callback: https://developer.android.com/reference/android/app/Application.ActivityLifecycleCallbacks.html
)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#registerComponentCallbacks(android.content.ComponentCallbacks)(callback: https://developer.android.com/reference/android/content/ComponentCallbacks.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#registerForContextMenu(android.view.View)(view: https://developer.android.com/reference/android/view/View.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#registerScreenCaptureCallback(java.util.concurrent.Executor, android.app.Activity.ScreenCaptureCallback)(
executor: https://developer.android.com/reference/java/util/concurrent/Executor.html,
callback: https://developer.android.com/reference/android/app/Activity.ScreenCaptureCallback.html
)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` `https://developer.android.com/reference/android/app/Activity.html#releaseInstance()()` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#removeDialog(int)(id: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` `https://developer.android.com/reference/android/view/DragAndDropPermissions.html` `https://developer.android.com/reference/android/app/Activity.html#requestDragAndDropPermissions(android.view.DragEvent)(event: https://developer.android.com/reference/android/view/DragEvent.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#requestFullscreenMode(int, android.os.OutcomeReceiver&lt;java.lang.Void,java.lang.Throwable&gt;)(
request: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html,
approvalCallback: https://developer.android.com/reference/android/os/OutcomeReceiver.html<https://developer.android.com/reference/java/lang/Void.html, https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-throwable/index.html>?
)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#requestOpenInBrowserEducation()()` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#requestPermissions(java.lang.String[], int)(permissions: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-array/index.html<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html>, requestCode: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#requestPermissions(java.lang.String[], int, int)(
permissions: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-array/index.html<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html>,
requestCode: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html,
deviceId: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html
)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#requestShowKeyboardShortcuts()()` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` `https://developer.android.com/reference/android/app/Activity.html#requestVisibleBehind(boolean)(visible: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` `https://developer.android.com/reference/android/app/Activity.html#requestWindowFeature(int)(featureId: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` `T` `<T : https://developer.android.com/reference/android/view/View.html> https://developer.android.com/reference/android/app/Activity.html#requireViewById(int)(id: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#runOnUiThread(java.lang.Runnable)(action: https://developer.android.com/reference/java/lang/Runnable.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#setActionBar(android.widget.Toolbar)(toolbar: https://developer.android.com/reference/android/widget/Toolbar.html?)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#setAllowCrossUidActivitySwitchFromBelow(boolean)(allowed: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#setDefaultKeyMode(int)(mode: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#setEnterSharedElementCallback(android.app.SharedElementCallback)(callback: https://developer.android.com/reference/android/app/SharedElementCallback.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#setExitSharedElementCallback(android.app.SharedElementCallback)(callback: https://developer.android.com/reference/android/app/SharedElementCallback.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#setFeatureDrawable(int, android.graphics.drawable.Drawable)(featureId: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, drawable: https://developer.android.com/reference/android/graphics/drawable/Drawable.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#setFeatureDrawableAlpha(int, int)(featureId: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, alpha: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#setFeatureDrawableResource(int, int)(featureId: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, resId: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#setFeatureDrawableUri(int, android.net.Uri)(featureId: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, uri: https://developer.android.com/reference/android/net/Uri.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#setFinishOnTouchOutside(boolean)(finish: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#setHandoffEnabled(boolean, android.app.HandoffActivityParams)(
handoffEnabled: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html,
handoffActivityParams: https://developer.android.com/reference/android/app/HandoffActivityParams.html?
)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#setInheritShowWhenLocked(boolean)(inheritShowWhenLocked: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#setIntent(android.content.Intent, android.app.ComponentCaller)(newIntent: https://developer.android.com/reference/android/content/Intent.html?, newCaller: https://developer.android.com/reference/android/app/ComponentCaller.html?)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#setLocusContext(android.content.LocusId, android.os.Bundle)(locusId: https://developer.android.com/reference/android/content/LocusId.html?, bundle: https://developer.android.com/reference/android/os/Bundle.html?)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#setPictureInPictureParams(android.app.PictureInPictureParams)(params: https://developer.android.com/reference/android/app/PictureInPictureParams.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#setProgress(int)(progress: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#setProgressBarIndeterminate(boolean)(indeterminate: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#setProgressBarIndeterminateVisibility(boolean)(visible: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#setProgressBarVisibility(boolean)(visible: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#setRecentsScreenshotEnabled(boolean)(enabled: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#setResult(int)(resultCode: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#setResult(int, android.content.Intent)(resultCode: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, data: https://developer.android.com/reference/android/content/Intent.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#setSecondaryProgress(int)(secondaryProgress: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#setShouldDockBigOverlays(boolean)(shouldDockBigOverlays: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#setShowWhenLocked(boolean)(showWhenLocked: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#setTaskDescription(android.app.ActivityManager.TaskDescription)(taskDescription: https://developer.android.com/reference/android/app/ActivityManager.TaskDescription.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#setTheme(int)(resid: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#setTitle(int)(titleId: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` `https://developer.android.com/reference/android/app/Activity.html#setTranslucent(boolean)(translucent: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#setTurnScreenOn(boolean)(turnScreenOn: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#setVisible(boolean)(visible: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#setVrModeEnabled(boolean, android.content.ComponentName)(enabled: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html, requestedComponent: https://developer.android.com/reference/android/content/ComponentName.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` `https://developer.android.com/reference/android/app/Activity.html#shouldDockBigOverlays()()` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` `https://developer.android.com/reference/android/app/Activity.html#shouldShowRequestPermissionRationale(java.lang.String)(permission: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` `https://developer.android.com/reference/android/app/Activity.html#shouldShowRequestPermissionRationale(java.lang.String, int)(permission: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html, deviceId: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` `https://developer.android.com/reference/android/app/Activity.html#shouldUpRecreateTask(android.content.Intent)(targetIntent: https://developer.android.com/reference/android/content/Intent.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` `https://developer.android.com/reference/android/app/Activity.html#showAssist(android.os.Bundle)(args: https://developer.android.com/reference/android/os/Bundle.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#showDialog(int)(id: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` `https://developer.android.com/reference/android/app/Activity.html#showDialog(int, android.os.Bundle)(id: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, args: https://developer.android.com/reference/android/os/Bundle.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#showLockTaskEscapeMessage()()` `https://developer.android.com/reference/android/view/ActionMode.html?` `https://developer.android.com/reference/android/app/Activity.html#startActionMode(android.view.ActionMode.Callback)(callback: https://developer.android.com/reference/android/view/ActionMode.Callback.html)` `https://developer.android.com/reference/android/view/ActionMode.html?` `https://developer.android.com/reference/android/app/Activity.html#startActionMode(android.view.ActionMode.Callback, int)(callback: https://developer.android.com/reference/android/view/ActionMode.Callback.html, type: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#startActivities(android.content.Intent[])(intents: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-array/index.html<https://developer.android.com/reference/android/content/Intent.html>)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#startActivities(android.content.Intent[], android.os.Bundle)(intents: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-array/index.html<https://developer.android.com/reference/android/content/Intent.html>, options: https://developer.android.com/reference/android/os/Bundle.html?)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#startActivity(android.content.Intent)(intent: https://developer.android.com/reference/android/content/Intent.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#startActivity(android.content.Intent, android.os.Bundle)(intent: https://developer.android.com/reference/android/content/Intent.html, options: https://developer.android.com/reference/android/os/Bundle.html?)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#startActivityFromChild(android.app.Activity, android.content.Intent, int)(child: https://developer.android.com/reference/android/app/Activity.html, intent: https://developer.android.com/reference/android/content/Intent.html, requestCode: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#startActivityFromChild(android.app.Activity, android.content.Intent, int, android.os.Bundle)(
child: https://developer.android.com/reference/android/app/Activity.html,
intent: https://developer.android.com/reference/android/content/Intent.html,
requestCode: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html,
options: https://developer.android.com/reference/android/os/Bundle.html?
)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#startActivityFromFragment(android.app.Fragment, android.content.Intent, int)(
fragment: https://developer.android.com/reference/android/app/Fragment.html,
intent: https://developer.android.com/reference/android/content/Intent.html,
requestCode: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html
)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#startActivityFromFragment(android.app.Fragment, android.content.Intent, int, android.os.Bundle)(
fragment: https://developer.android.com/reference/android/app/Fragment.html,
intent: https://developer.android.com/reference/android/content/Intent.html,
requestCode: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html,
options: https://developer.android.com/reference/android/os/Bundle.html?
)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` `https://developer.android.com/reference/android/app/Activity.html#startActivityIfNeeded(android.content.Intent, int)(intent: https://developer.android.com/reference/android/content/Intent.html, requestCode: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` `https://developer.android.com/reference/android/app/Activity.html#startActivityIfNeeded(android.content.Intent, int, android.os.Bundle)(intent: https://developer.android.com/reference/android/content/Intent.html, requestCode: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, options: https://developer.android.com/reference/android/os/Bundle.html?)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#startIntentSender(android.content.IntentSender, android.content.Intent, int, int, int)(
intent: https://developer.android.com/reference/android/content/IntentSender.html,
fillInIntent: https://developer.android.com/reference/android/content/Intent.html?,
flagsMask: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html,
flagsValues: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html,
extraFlags: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html
)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#startIntentSender(android.content.IntentSender, android.content.Intent, int, int, int, android.os.Bundle)(
intent: https://developer.android.com/reference/android/content/IntentSender.html,
fillInIntent: https://developer.android.com/reference/android/content/Intent.html?,
flagsMask: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html,
flagsValues: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html,
extraFlags: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html,
options: https://developer.android.com/reference/android/os/Bundle.html?
)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#startIntentSenderFromChild(android.app.Activity, android.content.IntentSender, int, android.content.Intent, int, int, int)(
child: https://developer.android.com/reference/android/app/Activity.html,
intent: https://developer.android.com/reference/android/content/IntentSender.html,
requestCode: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html,
fillInIntent: https://developer.android.com/reference/android/content/Intent.html,
flagsMask: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html,
flagsValues: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html,
extraFlags: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html
)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#startIntentSenderFromChild(android.app.Activity, android.content.IntentSender, int, android.content.Intent, int, int, int, android.os.Bundle)(
child: https://developer.android.com/reference/android/app/Activity.html,
intent: https://developer.android.com/reference/android/content/IntentSender.html,
requestCode: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html,
fillInIntent: https://developer.android.com/reference/android/content/Intent.html,
flagsMask: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html,
flagsValues: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html,
extraFlags: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html,
options: https://developer.android.com/reference/android/os/Bundle.html?
)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#startLocalVoiceInteraction(android.os.Bundle)(privateOptions: https://developer.android.com/reference/android/os/Bundle.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#startLockTask()()` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#startManagingCursor(android.database.Cursor)(c: https://developer.android.com/reference/android/database/Cursor.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` `https://developer.android.com/reference/android/app/Activity.html#startNextMatchingActivity(android.content.Intent)(intent: https://developer.android.com/reference/android/content/Intent.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` `https://developer.android.com/reference/android/app/Activity.html#startNextMatchingActivity(android.content.Intent, android.os.Bundle)(intent: https://developer.android.com/reference/android/content/Intent.html, options: https://developer.android.com/reference/android/os/Bundle.html?)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#startPostponedEnterTransition()()` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#startSearch(java.lang.String, boolean, android.os.Bundle, boolean)(
initialQuery: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?,
selectInitialQuery: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html,
appSearchData: https://developer.android.com/reference/android/os/Bundle.html?,
globalSearch: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html
)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#stopLocalVoiceInteraction()()` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#stopLockTask()()` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#stopManagingCursor(android.database.Cursor)(c: https://developer.android.com/reference/android/database/Cursor.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#takeKeyEvents(boolean)(get: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#triggerSearch(java.lang.String, android.os.Bundle)(query: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html, appSearchData: https://developer.android.com/reference/android/os/Bundle.html?)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#unregisterActivityLifecycleCallbacks(android.app.Application.ActivityLifecycleCallbacks)(
callback: https://developer.android.com/reference/android/app/Application.ActivityLifecycleCallbacks.html
)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#unregisterComponentCallbacks(android.content.ComponentCallbacks)(callback: https://developer.android.com/reference/android/content/ComponentCallbacks.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#unregisterForContextMenu(android.view.View)(view: https://developer.android.com/reference/android/view/View.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/app/Activity.html#unregisterScreenCaptureCallback(android.app.Activity.ScreenCaptureCallback)(
callback: https://developer.android.com/reference/android/app/Activity.ScreenCaptureCallback.html
)` From [android.content.Context](https://developer.android.com/reference/android/content/Context.html) `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` `https://developer.android.com/reference/android/content/Context.html#bindIsolatedService(android.content.Intent, android.content.Context.BindServiceFlags, java.lang.String, java.util.concurrent.Executor, android.content.ServiceConnection)(
service: https://developer.android.com/reference/android/content/Intent.html,
flags: https://developer.android.com/reference/android/content/Context.BindServiceFlags.html,
instanceName: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html,
executor: https://developer.android.com/reference/java/util/concurrent/Executor.html,
conn: https://developer.android.com/reference/android/content/ServiceConnection.html
)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` `https://developer.android.com/reference/android/content/Context.html#getColor(int)(id: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` `https://developer.android.com/reference/android/content/res/ColorStateList.html` `https://developer.android.com/reference/android/content/Context.html#getColorStateList(int)(id: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` `https://developer.android.com/reference/android/graphics/drawable/Drawable.html?` `https://developer.android.com/reference/android/content/Context.html#getDrawable(int)(id: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` `https://developer.android.com/reference/android/content/Context.html#getString(int)(resId: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` `https://developer.android.com/reference/android/content/Context.html#getString(int, java.lang.Object...)(resId: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, vararg formatArgs: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html)` `T` `<T : https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html> https://developer.android.com/reference/android/content/Context.html#getSystemService(java.lang.Class&lt;T&gt;)(serviceClass: https://developer.android.com/reference/java/lang/Class.html<T>)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-char-sequence/index.html` `https://developer.android.com/reference/android/content/Context.html#getText(int)(resId: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` `https://developer.android.com/reference/android/content/res/TypedArray.html` `https://developer.android.com/reference/android/content/Context.html#obtainStyledAttributes(int[])(attrs: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int-array/index.html)` `https://developer.android.com/reference/android/content/res/TypedArray.html` `https://developer.android.com/reference/android/content/Context.html#obtainStyledAttributes(int, int[])(resid: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, attrs: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int-array/index.html)` `https://developer.android.com/reference/android/content/res/TypedArray.html` `https://developer.android.com/reference/android/content/Context.html#obtainStyledAttributes(android.util.AttributeSet, int[])(set: https://developer.android.com/reference/android/util/AttributeSet.html?, attrs: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int-array/index.html)` `https://developer.android.com/reference/android/content/res/TypedArray.html` `https://developer.android.com/reference/android/content/Context.html#obtainStyledAttributes(android.util.AttributeSet, int[], int, int)(
set: https://developer.android.com/reference/android/util/AttributeSet.html?,
attrs: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int-array/index.html,
defStyleAttr: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html,
defStyleRes: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html
)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/content/Context.html#revokeSelfPermissionOnKill(java.lang.String)(permName: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/content/Context.html#sendBroadcastWithMultiplePermissions(android.content.Intent, java.lang.String[])(
intent: https://developer.android.com/reference/android/content/Intent.html,
receiverPermissions: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-array/index.html<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html>
)` From [android.view.ContextThemeWrapper](https://developer.android.com/reference/android/view/ContextThemeWrapper.html) `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/view/ContextThemeWrapper.html#applyOverrideConfiguration(android.content.res.Configuration)(overrideConfiguration: https://developer.android.com/reference/android/content/res/Configuration.html)` From [android.content.ContextWrapper](https://developer.android.com/reference/android/content/ContextWrapper.html) `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#bindIsolatedService(android.content.Intent, int, java.lang.String, java.util.concurrent.Executor, android.content.ServiceConnection)(
service: https://developer.android.com/reference/android/content/Intent.html,
flags: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html,
instanceName: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html,
executor: https://developer.android.com/reference/java/util/concurrent/Executor.html,
conn: https://developer.android.com/reference/android/content/ServiceConnection.html
)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#bindService(android.content.Intent, android.content.ServiceConnection, android.content.Context.BindServiceFlags)(
service: https://developer.android.com/reference/android/content/Intent.html,
conn: https://developer.android.com/reference/android/content/ServiceConnection.html,
flags: https://developer.android.com/reference/android/content/Context.BindServiceFlags.html
)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#bindService(android.content.Intent, android.content.ServiceConnection, int)(service: https://developer.android.com/reference/android/content/Intent.html, conn: https://developer.android.com/reference/android/content/ServiceConnection.html, flags: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#bindService(android.content.Intent, android.content.Context.BindServiceFlags, java.util.concurrent.Executor, android.content.ServiceConnection)(
service: https://developer.android.com/reference/android/content/Intent.html,
flags: https://developer.android.com/reference/android/content/Context.BindServiceFlags.html,
executor: https://developer.android.com/reference/java/util/concurrent/Executor.html,
conn: https://developer.android.com/reference/android/content/ServiceConnection.html
)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#bindService(android.content.Intent, int, java.util.concurrent.Executor, android.content.ServiceConnection)(
service: https://developer.android.com/reference/android/content/Intent.html,
flags: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html,
executor: https://developer.android.com/reference/java/util/concurrent/Executor.html,
conn: https://developer.android.com/reference/android/content/ServiceConnection.html
)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#bindServiceAsUser(android.content.Intent, android.content.ServiceConnection, android.content.Context.BindServiceFlags, android.os.UserHandle)(
service: https://developer.android.com/reference/android/content/Intent.html,
conn: https://developer.android.com/reference/android/content/ServiceConnection.html,
flags: https://developer.android.com/reference/android/content/Context.BindServiceFlags.html,
user: https://developer.android.com/reference/android/os/UserHandle.html
)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#bindServiceAsUser(android.content.Intent, android.content.ServiceConnection, int, android.os.UserHandle)(
service: https://developer.android.com/reference/android/content/Intent.html,
conn: https://developer.android.com/reference/android/content/ServiceConnection.html,
flags: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html,
user: https://developer.android.com/reference/android/os/UserHandle.html
)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#checkCallingOrSelfPermission(java.lang.String)(permission: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#checkCallingOrSelfUriPermission(android.net.Uri, int)(uri: https://developer.android.com/reference/android/net/Uri.html, modeFlags: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int-array/index.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#checkCallingOrSelfUriPermissions(java.util.List&lt;android.net.Uri&gt;, int)(uris: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-mutable-list/index.html<https://developer.android.com/reference/android/net/Uri.html>, modeFlags: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#checkCallingPermission(java.lang.String)(permission: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#checkCallingUriPermission(android.net.Uri, int)(uri: https://developer.android.com/reference/android/net/Uri.html, modeFlags: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int-array/index.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#checkCallingUriPermissions(java.util.List&lt;android.net.Uri&gt;, int)(uris: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-mutable-list/index.html<https://developer.android.com/reference/android/net/Uri.html>, modeFlags: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#checkContentUriPermissionFull(android.net.Uri, int, int, int)(uri: https://developer.android.com/reference/android/net/Uri.html, pid: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, uid: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, modeFlags: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#checkPermission(java.lang.String, int, int)(permission: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html, pid: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, uid: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#checkSelfPermission(java.lang.String)(permission: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#checkUriPermission(android.net.Uri, int, int, int)(uri: https://developer.android.com/reference/android/net/Uri.html, pid: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, uid: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, modeFlags: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#checkUriPermission(android.net.Uri, java.lang.String, java.lang.String, int, int, int)(
uri: https://developer.android.com/reference/android/net/Uri.html?,
readPermission: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?,
writePermission: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?,
pid: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html,
uid: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html,
modeFlags: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html
)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int-array/index.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#checkUriPermissions(java.util.List&lt;android.net.Uri&gt;, int, int, int)(
uris: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-mutable-list/index.html<https://developer.android.com/reference/android/net/Uri.html>,
pid: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html,
uid: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html,
modeFlags: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html
)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#clearWallpaper()()` `https://developer.android.com/reference/android/content/Context.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#createAttributionContext(java.lang.String)(attributionTag: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?)` `https://developer.android.com/reference/android/content/Context.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#createConfigurationContext(android.content.res.Configuration)(overrideConfiguration: https://developer.android.com/reference/android/content/res/Configuration.html)` `https://developer.android.com/reference/android/content/Context.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#createContext(android.content.ContextParams)(contextParams: https://developer.android.com/reference/android/content/ContextParams.html)` `https://developer.android.com/reference/android/content/Context.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#createContextForSplit(java.lang.String)(splitName: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)` `https://developer.android.com/reference/android/content/Context.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#createDeviceContext(int)(deviceId: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` `https://developer.android.com/reference/android/content/Context.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#createDeviceProtectedStorageContext()()` `https://developer.android.com/reference/android/content/Context.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#createDisplayContext(android.view.Display)(display: https://developer.android.com/reference/android/view/Display.html)` `https://developer.android.com/reference/android/content/Context.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#createPackageContext(java.lang.String, int)(packageName: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html, flags: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` `https://developer.android.com/reference/android/content/Context.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#createWindowContext(int, android.os.Bundle)(type: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, options: https://developer.android.com/reference/android/os/Bundle.html?)` `https://developer.android.com/reference/android/content/Context.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#createWindowContext(android.view.Display, int, android.os.Bundle)(display: https://developer.android.com/reference/android/view/Display.html, type: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, options: https://developer.android.com/reference/android/os/Bundle.html?)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-array/index.html<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html>` `https://developer.android.com/reference/android/content/ContextWrapper.html#databaseList()()` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#deleteDatabase(java.lang.String)(name: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#deleteFile(java.lang.String)(name: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#deleteSharedPreferences(java.lang.String)(name: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#enforceCallingOrSelfPermission(java.lang.String, java.lang.String)(permission: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html, message: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#enforceCallingOrSelfUriPermission(android.net.Uri, int, java.lang.String)(
uri: https://developer.android.com/reference/android/net/Uri.html,
modeFlags: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html,
message: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html
)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#enforceCallingPermission(java.lang.String, java.lang.String)(permission: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html, message: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#enforceCallingUriPermission(android.net.Uri, int, java.lang.String)(uri: https://developer.android.com/reference/android/net/Uri.html, modeFlags: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, message: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#enforcePermission(java.lang.String, int, int, java.lang.String)(permission: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html, pid: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, uid: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, message: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#enforceUriPermission(android.net.Uri, int, int, int, java.lang.String)(
uri: https://developer.android.com/reference/android/net/Uri.html,
pid: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html,
uid: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html,
modeFlags: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html,
message: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html
)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#enforceUriPermission(android.net.Uri, java.lang.String, java.lang.String, int, int, int, java.lang.String)(
uri: https://developer.android.com/reference/android/net/Uri.html?,
readPermission: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?,
writePermission: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?,
pid: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html,
uid: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html,
modeFlags: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html,
message: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?
)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-array/index.html<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html>` `https://developer.android.com/reference/android/content/ContextWrapper.html#fileList()()` `https://developer.android.com/reference/java/io/File.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#getDatabasePath(java.lang.String)(name: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)` `https://developer.android.com/reference/java/io/File.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#getDir(java.lang.String, int)(name: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html, mode: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` `https://developer.android.com/reference/java/io/File.html?` `https://developer.android.com/reference/android/content/ContextWrapper.html#getExternalFilesDir(java.lang.String)(type: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-array/index.html<https://developer.android.com/reference/java/io/File.html>` `https://developer.android.com/reference/android/content/ContextWrapper.html#getExternalFilesDirs(java.lang.String)(type: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)` `https://developer.android.com/reference/java/io/File.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#getFileStreamPath(java.lang.String)(name: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)` `https://developer.android.com/reference/android/content/SharedPreferences.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#getSharedPreferences(java.lang.String, int)(name: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html, mode: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?` `https://developer.android.com/reference/android/content/ContextWrapper.html#getSystemServiceName(java.lang.Class&lt;?&gt;)(serviceClass: https://developer.android.com/reference/java/lang/Class.html<*>)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#grantUriPermission(java.lang.String, android.net.Uri, int)(toPackage: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html, uri: https://developer.android.com/reference/android/net/Uri.html, modeFlags: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#moveDatabaseFrom(android.content.Context, java.lang.String)(sourceContext: https://developer.android.com/reference/android/content/Context.html, name: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#moveSharedPreferencesFrom(android.content.Context, java.lang.String)(sourceContext: https://developer.android.com/reference/android/content/Context.html, name: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)` `https://developer.android.com/reference/java/io/FileInputStream.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#openFileInput(java.lang.String)(name: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)` `https://developer.android.com/reference/java/io/FileOutputStream.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#openFileOutput(java.lang.String, int)(name: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html, mode: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` `https://developer.android.com/reference/android/database/sqlite/SQLiteDatabase.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#openOrCreateDatabase(java.lang.String, int, android.database.sqlite.SQLiteDatabase.CursorFactory)(
name: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html,
mode: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html,
factory: https://developer.android.com/reference/android/database/sqlite/SQLiteDatabase.CursorFactory.html
)` `https://developer.android.com/reference/android/database/sqlite/SQLiteDatabase.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#openOrCreateDatabase(java.lang.String, int, android.database.sqlite.SQLiteDatabase.CursorFactory, android.database.DatabaseErrorHandler)(
name: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html,
mode: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html,
factory: https://developer.android.com/reference/android/database/sqlite/SQLiteDatabase.CursorFactory.html,
errorHandler: https://developer.android.com/reference/android/database/DatabaseErrorHandler.html?
)` `https://developer.android.com/reference/android/graphics/drawable/Drawable.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#peekWallpaper()()` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#rebindService(android.content.ServiceConnection, android.content.Context.BindServiceFlags)(conn: https://developer.android.com/reference/android/content/ServiceConnection.html, flags: https://developer.android.com/reference/android/content/Context.BindServiceFlags.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#registerDeviceIdChangeListener(java.util.concurrent.Executor, java.util.function.IntConsumer)(executor: https://developer.android.com/reference/java/util/concurrent/Executor.html, listener: https://developer.android.com/reference/java/util/function/IntConsumer.html)` `https://developer.android.com/reference/android/content/Intent.html?` `https://developer.android.com/reference/android/content/ContextWrapper.html#registerReceiver(android.content.BroadcastReceiver, android.content.IntentFilter)(receiver: https://developer.android.com/reference/android/content/BroadcastReceiver.html?, filter: https://developer.android.com/reference/android/content/IntentFilter.html)` `https://developer.android.com/reference/android/content/Intent.html?` `https://developer.android.com/reference/android/content/ContextWrapper.html#registerReceiver(android.content.BroadcastReceiver, android.content.IntentFilter, int)(
receiver: https://developer.android.com/reference/android/content/BroadcastReceiver.html?,
filter: https://developer.android.com/reference/android/content/IntentFilter.html,
flags: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html
)` `https://developer.android.com/reference/android/content/Intent.html?` `https://developer.android.com/reference/android/content/ContextWrapper.html#registerReceiver(android.content.BroadcastReceiver, android.content.IntentFilter, java.lang.String, android.os.Handler)(
receiver: https://developer.android.com/reference/android/content/BroadcastReceiver.html?,
filter: https://developer.android.com/reference/android/content/IntentFilter.html,
broadcastPermission: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?,
scheduler: https://developer.android.com/reference/android/os/Handler.html?
)` `https://developer.android.com/reference/android/content/Intent.html?` `https://developer.android.com/reference/android/content/ContextWrapper.html#registerReceiver(android.content.BroadcastReceiver, android.content.IntentFilter, java.lang.String, android.os.Handler, int)(
receiver: https://developer.android.com/reference/android/content/BroadcastReceiver.html?,
filter: https://developer.android.com/reference/android/content/IntentFilter.html,
broadcastPermission: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?,
scheduler: https://developer.android.com/reference/android/os/Handler.html?,
flags: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html
)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#removeStickyBroadcast(android.content.Intent)(intent: https://developer.android.com/reference/android/content/Intent.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#removeStickyBroadcastAsUser(android.content.Intent, android.os.UserHandle)(intent: https://developer.android.com/reference/android/content/Intent.html, user: https://developer.android.com/reference/android/os/UserHandle.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#revokeSelfPermissionsOnKill(java.util.Collection&lt;java.lang.String&gt;)(permissions: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-mutable-collection/index.html<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html>)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#revokeUriPermission(android.net.Uri, int)(uri: https://developer.android.com/reference/android/net/Uri.html, modeFlags: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#revokeUriPermission(java.lang.String, android.net.Uri, int)(targetPackage: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html, uri: https://developer.android.com/reference/android/net/Uri.html, modeFlags: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#sendBroadcast(android.content.Intent)(intent: https://developer.android.com/reference/android/content/Intent.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#sendBroadcast(android.content.Intent, java.lang.String)(intent: https://developer.android.com/reference/android/content/Intent.html, receiverPermission: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#sendBroadcast(android.content.Intent, java.lang.String, android.os.Bundle)(intent: https://developer.android.com/reference/android/content/Intent.html, receiverPermission: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?, options: https://developer.android.com/reference/android/os/Bundle.html?)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#sendBroadcastAsUser(android.content.Intent, android.os.UserHandle)(intent: https://developer.android.com/reference/android/content/Intent.html, user: https://developer.android.com/reference/android/os/UserHandle.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#sendBroadcastAsUser(android.content.Intent, android.os.UserHandle, java.lang.String)(
intent: https://developer.android.com/reference/android/content/Intent.html,
user: https://developer.android.com/reference/android/os/UserHandle.html,
receiverPermission: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?
)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#sendOrderedBroadcast(android.content.Intent, java.lang.String)(intent: https://developer.android.com/reference/android/content/Intent.html, receiverPermission: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#sendOrderedBroadcast(android.content.Intent, java.lang.String, android.os.Bundle)(
intent: https://developer.android.com/reference/android/content/Intent.html,
receiverPermission: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?,
options: https://developer.android.com/reference/android/os/Bundle.html?
)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#sendOrderedBroadcast(android.content.Intent, java.lang.String, android.content.BroadcastReceiver, android.os.Handler, int, java.lang.String, android.os.Bundle)(
intent: https://developer.android.com/reference/android/content/Intent.html,
receiverPermission: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?,
resultReceiver: https://developer.android.com/reference/android/content/BroadcastReceiver.html?,
scheduler: https://developer.android.com/reference/android/os/Handler.html?,
initialCode: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html,
initialData: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?,
initialExtras: https://developer.android.com/reference/android/os/Bundle.html?
)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#sendOrderedBroadcast(android.content.Intent, java.lang.String, android.os.Bundle, android.content.BroadcastReceiver, android.os.Handler, int, java.lang.String, android.os.Bundle)(
intent: https://developer.android.com/reference/android/content/Intent.html,
receiverPermission: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?,
options: https://developer.android.com/reference/android/os/Bundle.html?,
resultReceiver: https://developer.android.com/reference/android/content/BroadcastReceiver.html?,
scheduler: https://developer.android.com/reference/android/os/Handler.html?,
initialCode: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html,
initialData: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?,
initialExtras: https://developer.android.com/reference/android/os/Bundle.html?
)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#sendOrderedBroadcast(android.content.Intent, java.lang.String, java.lang.String, android.content.BroadcastReceiver, android.os.Handler, int, java.lang.String, android.os.Bundle)(
intent: https://developer.android.com/reference/android/content/Intent.html,
receiverPermission: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?,
receiverAppOp: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?,
resultReceiver: https://developer.android.com/reference/android/content/BroadcastReceiver.html?,
scheduler: https://developer.android.com/reference/android/os/Handler.html?,
initialCode: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html,
initialData: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?,
initialExtras: https://developer.android.com/reference/android/os/Bundle.html?
)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#sendOrderedBroadcast(android.content.Intent, int, java.lang.String, java.lang.String, android.content.BroadcastReceiver, android.os.Handler, java.lang.String, android.os.Bundle, android.os.Bundle)(
intent: https://developer.android.com/reference/android/content/Intent.html,
initialCode: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html,
receiverPermission: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?,
receiverAppOp: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?,
resultReceiver: https://developer.android.com/reference/android/content/BroadcastReceiver.html?,
scheduler: https://developer.android.com/reference/android/os/Handler.html?,
initialData: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?,
initialExtras: https://developer.android.com/reference/android/os/Bundle.html?,
options: https://developer.android.com/reference/android/os/Bundle.html?
)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#sendOrderedBroadcastAsUser(android.content.Intent, android.os.UserHandle, java.lang.String, android.content.BroadcastReceiver, android.os.Handler, int, java.lang.String, android.os.Bundle)(
intent: https://developer.android.com/reference/android/content/Intent.html,
user: https://developer.android.com/reference/android/os/UserHandle.html,
receiverPermission: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?,
resultReceiver: https://developer.android.com/reference/android/content/BroadcastReceiver.html?,
scheduler: https://developer.android.com/reference/android/os/Handler.html?,
initialCode: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html,
initialData: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?,
initialExtras: https://developer.android.com/reference/android/os/Bundle.html?
)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#sendStickyBroadcast(android.content.Intent)(intent: https://developer.android.com/reference/android/content/Intent.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#sendStickyBroadcast(android.content.Intent, android.os.Bundle)(intent: https://developer.android.com/reference/android/content/Intent.html, options: https://developer.android.com/reference/android/os/Bundle.html?)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#sendStickyBroadcastAsUser(android.content.Intent, android.os.UserHandle)(intent: https://developer.android.com/reference/android/content/Intent.html, user: https://developer.android.com/reference/android/os/UserHandle.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#sendStickyOrderedBroadcast(android.content.Intent, android.content.BroadcastReceiver, android.os.Handler, int, java.lang.String, android.os.Bundle)(
intent: https://developer.android.com/reference/android/content/Intent.html,
resultReceiver: https://developer.android.com/reference/android/content/BroadcastReceiver.html?,
scheduler: https://developer.android.com/reference/android/os/Handler.html?,
initialCode: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html,
initialData: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?,
initialExtras: https://developer.android.com/reference/android/os/Bundle.html?
)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#sendStickyOrderedBroadcastAsUser(android.content.Intent, android.os.UserHandle, android.content.BroadcastReceiver, android.os.Handler, int, java.lang.String, android.os.Bundle)(
intent: https://developer.android.com/reference/android/content/Intent.html,
user: https://developer.android.com/reference/android/os/UserHandle.html,
resultReceiver: https://developer.android.com/reference/android/content/BroadcastReceiver.html?,
scheduler: https://developer.android.com/reference/android/os/Handler.html?,
initialCode: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html,
initialData: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?,
initialExtras: https://developer.android.com/reference/android/os/Bundle.html?
)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#setWallpaper(android.graphics.Bitmap)(bitmap: https://developer.android.com/reference/android/graphics/Bitmap.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#setWallpaper(java.io.InputStream)(data: https://developer.android.com/reference/java/io/InputStream.html)` `https://developer.android.com/reference/android/content/ComponentName.html?` `https://developer.android.com/reference/android/content/ContextWrapper.html#startForegroundService(android.content.Intent)(service: https://developer.android.com/reference/android/content/Intent.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#startInstrumentation(android.content.ComponentName, java.lang.String, android.os.Bundle)(
className: https://developer.android.com/reference/android/content/ComponentName.html,
profileFile: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?,
arguments: https://developer.android.com/reference/android/os/Bundle.html?
)` `https://developer.android.com/reference/android/content/ComponentName.html?` `https://developer.android.com/reference/android/content/ContextWrapper.html#startService(android.content.Intent)(service: https://developer.android.com/reference/android/content/Intent.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#stopService(android.content.Intent)(name: https://developer.android.com/reference/android/content/Intent.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#unbindService(android.content.ServiceConnection)(conn: https://developer.android.com/reference/android/content/ServiceConnection.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#unregisterDeviceIdChangeListener(java.util.function.IntConsumer)(listener: https://developer.android.com/reference/java/util/function/IntConsumer.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#unregisterReceiver(android.content.BroadcastReceiver)(receiver: https://developer.android.com/reference/android/content/BroadcastReceiver.html)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#updateServiceBindings(java.util.Collection&lt;android.content.Context.UpdateBindingParams&gt;)(
params: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-mutable-collection/index.html<https://developer.android.com/reference/android/content/Context.UpdateBindingParams.html>
)` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#updateServiceGroup(android.content.ServiceConnection, int, int)(conn: https://developer.android.com/reference/android/content/ServiceConnection.html, group: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, importance: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` From [android.view.Window.Callback](https://developer.android.com/reference/android/view/Window.Callback.html) `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/android/view/Window.Callback.html#onPointerCaptureChanged(boolean)(hasCapture: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)`

### Inherited properties

From [android.app.Activity](https://developer.android.com/reference/android/app/Activity.html) `open https://developer.android.com/reference/android/app/ActionBar.html?` `https://developer.android.com/reference/android/app/Activity.html#actionBar` `https://developer.android.com/reference/android/app/Application.html` `https://developer.android.com/reference/android/app/Activity.html#application` `open https://developer.android.com/reference/android/app/ComponentCaller.html?` `https://developer.android.com/reference/android/app/Activity.html#caller` `open https://developer.android.com/reference/android/content/ComponentName.html?` `https://developer.android.com/reference/android/app/Activity.html#callingActivity` `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?` `https://developer.android.com/reference/android/app/Activity.html#callingPackage` `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` `https://developer.android.com/reference/android/app/Activity.html#changingConfigurations` `open https://developer.android.com/reference/android/content/ComponentName.html` `https://developer.android.com/reference/android/app/Activity.html#componentName` `open https://developer.android.com/reference/android/transition/Scene.html` `https://developer.android.com/reference/android/app/Activity.html#contentScene` `open https://developer.android.com/reference/android/transition/TransitionManager.html` `https://developer.android.com/reference/android/app/Activity.html#contentTransitionManager` `open https://developer.android.com/reference/android/app/ComponentCaller.html` `https://developer.android.com/reference/android/app/Activity.html#currentCaller` `open https://developer.android.com/reference/android/view/View.html?` `https://developer.android.com/reference/android/app/Activity.html#currentFocus` `open https://developer.android.com/reference/android/app/FragmentManager.html` `https://developer.android.com/reference/android/app/Activity.html#fragmentManager`

**This property is deprecated.** Deprecated in Java
`open https://developer.android.com/reference/android/app/ComponentCaller.html` `https://developer.android.com/reference/android/app/Activity.html#initialCaller` `open https://developer.android.com/reference/android/content/Intent.html` `https://developer.android.com/reference/android/app/Activity.html#intent` `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` `https://developer.android.com/reference/android/app/Activity.html#isActivityTransitionRunning` `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` `https://developer.android.com/reference/android/app/Activity.html#isChangingConfigurations` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` `https://developer.android.com/reference/android/app/Activity.html#isChild`

**This property is deprecated.** Deprecated in Java
`open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` `https://developer.android.com/reference/android/app/Activity.html#isDestroyed` `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` `https://developer.android.com/reference/android/app/Activity.html#isFinishing` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` `https://developer.android.com/reference/android/app/Activity.html#isHandoffEnabled` `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` `https://developer.android.com/reference/android/app/Activity.html#isImmersive` `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` `https://developer.android.com/reference/android/app/Activity.html#isInMultiWindowMode` `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` `https://developer.android.com/reference/android/app/Activity.html#isInPictureInPictureMode` `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` `https://developer.android.com/reference/android/app/Activity.html#isLaunchedFromBubble` `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` `https://developer.android.com/reference/android/app/Activity.html#isLocalVoiceInteractionSupported` `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` `https://developer.android.com/reference/android/app/Activity.html#isTaskRoot` `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` `https://developer.android.com/reference/android/app/Activity.html#isVoiceInteraction` `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` `https://developer.android.com/reference/android/app/Activity.html#isVoiceInteractionRoot` `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html?` `https://developer.android.com/reference/android/app/Activity.html#lastNonConfigurationInstance` `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?` `https://developer.android.com/reference/android/app/Activity.html#launchedFromPackage` `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` `https://developer.android.com/reference/android/app/Activity.html#launchedFromUid` `open https://developer.android.com/reference/android/view/LayoutInflater.html` `https://developer.android.com/reference/android/app/Activity.html#layoutInflater` `open https://developer.android.com/reference/android/app/LoaderManager.html` `https://developer.android.com/reference/android/app/Activity.html#loaderManager`

**This property is deprecated.** Deprecated in Java
`open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` `https://developer.android.com/reference/android/app/Activity.html#localClassName` `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` `https://developer.android.com/reference/android/app/Activity.html#maxNumPictureInPictureActions` `https://developer.android.com/reference/android/media/session/MediaController.html` `https://developer.android.com/reference/android/app/Activity.html#mediaController` `open https://developer.android.com/reference/android/view/MenuInflater.html` `https://developer.android.com/reference/android/app/Activity.html#menuInflater` `open https://developer.android.com/reference/android/window/OnBackInvokedDispatcher.html` `https://developer.android.com/reference/android/app/Activity.html#onBackInvokedDispatcher` `https://developer.android.com/reference/android/app/Activity.html` `https://developer.android.com/reference/android/app/Activity.html#parent`

**This property is deprecated.** Deprecated in Java
`open https://developer.android.com/reference/android/content/Intent.html?` `https://developer.android.com/reference/android/app/Activity.html#parentActivityIntent` `open https://developer.android.com/reference/android/net/Uri.html?` `https://developer.android.com/reference/android/app/Activity.html#referrer` `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` `https://developer.android.com/reference/android/app/Activity.html#requestedOrientation` `https://developer.android.com/reference/android/view/SearchEvent.html` `https://developer.android.com/reference/android/app/Activity.html#searchEvent` `https://developer.android.com/reference/android/window/SplashScreen.html` `https://developer.android.com/reference/android/app/Activity.html#splashScreen` `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` `https://developer.android.com/reference/android/app/Activity.html#taskId` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-char-sequence/index.html` `https://developer.android.com/reference/android/app/Activity.html#title` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` `https://developer.android.com/reference/android/app/Activity.html#titleColor`

**The setter for this property is deprecated.** Deprecated in Java
`open https://developer.android.com/reference/android/app/VoiceInteractor.html` `https://developer.android.com/reference/android/app/Activity.html#voiceInteractor` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` `https://developer.android.com/reference/android/app/Activity.html#volumeControlStream` `open https://developer.android.com/reference/android/view/Window.html` `https://developer.android.com/reference/android/app/Activity.html#window` `open https://developer.android.com/reference/android/view/WindowManager.html` `https://developer.android.com/reference/android/app/Activity.html#windowManager` From [android.content.Context](https://developer.android.com/reference/android/content/Context.html) `open https://developer.android.com/reference/android/content/Context.BindServiceFlags.html` `https://developer.android.com/reference/android/content/Context.html#updateableFlags` From [android.view.ContextThemeWrapper](https://developer.android.com/reference/android/view/ContextThemeWrapper.html) `open https://developer.android.com/reference/android/content/res/AssetManager.html` `https://developer.android.com/reference/android/view/ContextThemeWrapper.html#assets` `open https://developer.android.com/reference/android/content/res/Resources.html` `https://developer.android.com/reference/android/view/ContextThemeWrapper.html#resources` `open https://developer.android.com/reference/android/content/res/Resources.Theme.html` `https://developer.android.com/reference/android/view/ContextThemeWrapper.html#theme` From [android.content.ContextWrapper](https://developer.android.com/reference/android/content/ContextWrapper.html) `open https://developer.android.com/reference/android/content/Context.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#applicationContext` `open https://developer.android.com/reference/android/content/pm/ApplicationInfo.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#applicationInfo` `open https://developer.android.com/reference/android/content/AttributionSource.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#attributionSource` `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?` `https://developer.android.com/reference/android/content/ContextWrapper.html#attributionTag` `open https://developer.android.com/reference/android/content/Context.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#baseContext` `open https://developer.android.com/reference/java/io/File.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#cacheDir` `open https://developer.android.com/reference/java/lang/ClassLoader.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#classLoader` `open https://developer.android.com/reference/java/io/File.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#codeCacheDir` `open https://developer.android.com/reference/android/content/ContentResolver.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#contentResolver` `open https://developer.android.com/reference/java/io/File.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#dataDir` `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#deviceId` `open https://developer.android.com/reference/android/view/Display.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#display` `open https://developer.android.com/reference/java/io/File.html?` `https://developer.android.com/reference/android/content/ContextWrapper.html#externalCacheDir` `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-array/index.html<https://developer.android.com/reference/java/io/File.html>` `https://developer.android.com/reference/android/content/ContextWrapper.html#externalCacheDirs` `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-array/index.html<https://developer.android.com/reference/java/io/File.html>` `https://developer.android.com/reference/android/content/ContextWrapper.html#externalMediaDirs` `open https://developer.android.com/reference/java/io/File.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#filesDir` `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#isDeviceProtectedStorage` `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#isRestricted` `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#isUiContext` `open https://developer.android.com/reference/java/util/concurrent/Executor.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#mainExecutor` `open https://developer.android.com/reference/android/os/Looper.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#mainLooper` `open https://developer.android.com/reference/java/io/File.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#noBackupFilesDir` `open https://developer.android.com/reference/java/io/File.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#obbDir` `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-array/index.html<https://developer.android.com/reference/java/io/File.html>` `https://developer.android.com/reference/android/content/ContextWrapper.html#obbDirs` `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#opPackageName` `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#packageCodePath` `open https://developer.android.com/reference/android/content/pm/PackageManager.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#packageManager` `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#packageName` `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#packageResourcePath` `open https://developer.android.com/reference/android/content/ContextParams.html?` `https://developer.android.com/reference/android/content/ContextWrapper.html#params` `open https://developer.android.com/reference/android/graphics/drawable/Drawable.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#wallpaper`

**This property is deprecated.** Deprecated in Java
`open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#wallpaperDesiredMinimumHeight`

**This property is deprecated.** Deprecated in Java
`open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#wallpaperDesiredMinimumWidth`

**This property is deprecated.** Deprecated in Java

## Public constructors

### ComponentActivity

Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/activity#1.0.0)

```
ComponentActivity()
```

### ComponentActivity

Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/activity#1.0.0)

```
@ContentView
ComponentActivity(contentLayoutId: @LayoutRes Int)
```

Alternate constructor that can be used to provide a default layout that will be inflated as part of `super.onCreate(savedInstanceState)`.

This should generally be called from your constructor that takes no parameters, as is required for API 27 and lower or when using the default `https://developer.android.com/reference/android/app/AppComponentFactory.html`.

## Public functions

### addContentView

```
open fun addContentView(view: View?, params: ViewGroup.LayoutParams?): Unit
```

### addMenuProvider

Added in [1.4.0](https://developer.android.com/jetpack/androidx/releases/activity#1.4.0)

```
open fun addMenuProvider(provider: MenuProvider): Unit
```

Adds the given `https://developer.android.com/reference/kotlin/androidx/core/view/MenuProvider` to this `https://developer.android.com/reference/kotlin/androidx/core/view/MenuHost`. If using this method, you must manually remove the provider when necessary.

| Parameters |
|---|---|
| `provider: https://developer.android.com/reference/kotlin/androidx/core/view/MenuProvider` | the MenuProvider to be added |

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/core/view/MenuHost#removeMenuProvider(androidx.core.view.MenuProvider)` |   |

### addMenuProvider

Added in [1.4.0](https://developer.android.com/jetpack/androidx/releases/activity#1.4.0)

```
open fun addMenuProvider(provider: MenuProvider, owner: LifecycleOwner): Unit
```

Adds the given `https://developer.android.com/reference/kotlin/androidx/core/view/MenuProvider` to this `https://developer.android.com/reference/kotlin/androidx/core/view/MenuHost`. This `https://developer.android.com/reference/kotlin/androidx/core/view/MenuProvider` will be removed once the given `https://developer.android.com/reference/kotlin/androidx/lifecycle/LifecycleOwner` receives an Lifecycle.Event.ON_DESTROY event.

| Parameters |
|---|---|
| `provider: https://developer.android.com/reference/kotlin/androidx/core/view/MenuProvider` | the MenuProvider to be added |
| `owner: https://developer.android.com/reference/kotlin/androidx/lifecycle/LifecycleOwner` | the Lifecycle owner whose state will determine the removal of the provider |

### addMenuProvider

Added in [1.4.0](https://developer.android.com/jetpack/androidx/releases/activity#1.4.0)

```
open fun addMenuProvider(
    provider: MenuProvider,
    owner: LifecycleOwner,
    state: Lifecycle.State
): Unit
```

Adds the given `https://developer.android.com/reference/kotlin/androidx/core/view/MenuProvider` to this `https://developer.android.com/reference/kotlin/androidx/core/view/MenuHost` once the given `https://developer.android.com/reference/kotlin/androidx/lifecycle/LifecycleOwner` reaches the given `https://developer.android.com/reference/kotlin/androidx/lifecycle/Lifecycle.State`. This `https://developer.android.com/reference/kotlin/androidx/core/view/MenuProvider` will be removed once the given `https://developer.android.com/reference/kotlin/androidx/lifecycle/LifecycleOwner` goes down from the given `https://developer.android.com/reference/kotlin/androidx/lifecycle/Lifecycle.State`.

| Parameters |
|---|---|
| `provider: https://developer.android.com/reference/kotlin/androidx/core/view/MenuProvider` | the MenuProvider to be added |
| `owner: https://developer.android.com/reference/kotlin/androidx/lifecycle/LifecycleOwner` | the Lifecycle owner whose state will be used for automated addition/removal |
| `state: https://developer.android.com/reference/kotlin/androidx/lifecycle/Lifecycle.State` | the Lifecycle.State to check for automated addition/removal |

### addOnConfigurationChangedListener

Added in [1.5.0](https://developer.android.com/jetpack/androidx/releases/activity#1.5.0)

```
final fun addOnConfigurationChangedListener(listener: Consumer<Configuration>): Unit
```

Add a new listener that will get a callback associated with `https://developer.android.com/reference/android/content/ComponentCallbacks.html#onConfigurationChanged(android.content.res.Configuration)` with the new `https://developer.android.com/reference/android/content/res/Configuration.html`.

| Parameters |
|---|---|
| `listener: https://developer.android.com/reference/kotlin/androidx/core/util/Consumer<https://developer.android.com/reference/android/content/res/Configuration.html>` | The listener that should be called whenever {`https://developer.android.com/reference/android/content/ComponentCallbacks.html#onConfigurationChanged(android.content.res.Configuration)` was called. |

### addOnContextAvailableListener

```
final fun addOnContextAvailableListener(listener: OnContextAvailableListener): Unit
```

{@inheritDoc}

Any listener added here will receive a callback as part of `super.onCreate()`, but importantly **before** any other logic is done (including calling through to the framework `https://developer.android.com/reference/android/app/Activity.html#onCreate(android.os.Bundle)`) with the exception of restoring the state of the `https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity#savedStateRegistry()` for use in your listener.

### addOnMultiWindowModeChangedListener

Added in [1.5.0](https://developer.android.com/jetpack/androidx/releases/activity#1.5.0)

```
final fun addOnMultiWindowModeChangedListener(
    listener: Consumer<MultiWindowModeChangedInfo>
): Unit
```

Add a new listener that will get a callback associated with `https://developer.android.com/reference/android/app/Activity.html#onMultiWindowModeChanged(boolean)` with the new `https://developer.android.com/reference/kotlin/androidx/core/app/MultiWindowModeChangedInfo`.

| Parameters |
|---|---|
| `listener: https://developer.android.com/reference/kotlin/androidx/core/util/Consumer<https://developer.android.com/reference/kotlin/androidx/core/app/MultiWindowModeChangedInfo>` | The listener that should be called whenever Activity#onMultiWindowModeChanged was called. |

### addOnNewIntentListener

Added in [1.5.0](https://developer.android.com/jetpack/androidx/releases/activity#1.5.0)

```
final fun addOnNewIntentListener(listener: Consumer<Intent>): Unit
```

Add a new listener that will get a callback associated with `https://developer.android.com/reference/android/app/Activity.html#onNewIntent(android.content.Intent)` with the new `https://developer.android.com/reference/android/content/Intent.html`.

| Parameters |
|---|---|
| `listener: https://developer.android.com/reference/kotlin/androidx/core/util/Consumer<https://developer.android.com/reference/android/content/Intent.html>` | The listener that should be called whenever android.app.Activity#onNewIntent was called. |

### addOnPictureInPictureModeChangedListener

Added in [1.5.0](https://developer.android.com/jetpack/androidx/releases/activity#1.5.0)

```
final fun addOnPictureInPictureModeChangedListener(
    listener: Consumer<PictureInPictureModeChangedInfo>
): Unit
```

Add a new listener that will get a callback associated with `https://developer.android.com/reference/android/app/Activity.html#onPictureInPictureModeChanged(boolean)` with the new `https://developer.android.com/reference/kotlin/androidx/core/app/PictureInPictureModeChangedInfo`.

| Parameters |
|---|---|
| `listener: https://developer.android.com/reference/kotlin/androidx/core/util/Consumer<https://developer.android.com/reference/kotlin/androidx/core/app/PictureInPictureModeChangedInfo>` | The listener that should be called whenever `https://developer.android.com/reference/android/app/Activity.html#onPictureInPictureModeChanged(boolean)` was called. |

### addOnPictureInPictureUiStateChangedListener

Added in [1.13.0](https://developer.android.com/jetpack/androidx/releases/activity#1.13.0)

```
final fun addOnPictureInPictureUiStateChangedListener(
    listener: Consumer<PictureInPictureUiStateCompat>
): Unit
```

Add a new listener that will get a callback associated with `https://developer.android.com/reference/android/app/Activity.html#onPictureInPictureUiStateChanged(android.app.PictureInPictureUiState)` with the new `https://developer.android.com/reference/kotlin/androidx/core/app/PictureInPictureUiStateCompat`.

| Parameters |
|---|---|
| `listener: https://developer.android.com/reference/kotlin/androidx/core/util/Consumer<https://developer.android.com/reference/kotlin/androidx/core/app/PictureInPictureUiStateCompat>` | The listener that should be called whenever `https://developer.android.com/reference/android/app/Activity.html#onPictureInPictureUiStateChanged(android.app.PictureInPictureUiState)` was called. |

### addOnTrimMemoryListener

Added in [1.5.0](https://developer.android.com/jetpack/androidx/releases/activity#1.5.0)

```
final fun addOnTrimMemoryListener(listener: Consumer<Int>): Unit
```

Add a new listener that will get a callback associated with `https://developer.android.com/reference/android/content/ComponentCallbacks2.html#onTrimMemory(int)` with the `int` representing the level of trimming.

| Parameters |
|---|---|
| `listener: https://developer.android.com/reference/kotlin/androidx/core/util/Consumer<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html>` | The listener that should be called whenever `https://developer.android.com/reference/android/content/ComponentCallbacks2.html#onTrimMemory(int)` was called. |

### addOnUserLeaveHintListener

Added in [1.9.0](https://developer.android.com/jetpack/androidx/releases/activity#1.9.0)

```
final fun addOnUserLeaveHintListener(listener: Runnable): Unit
```

Add a new listener that will get a callback associated with `https://developer.android.com/reference/android/app/Activity.html#onUserLeaveHint()`

| Parameters |
|---|---|
| `listener: https://developer.android.com/reference/java/lang/Runnable.html` | The listener that should be called whenever `https://developer.android.com/reference/android/app/Activity.html#onUserLeaveHint()` was called. |

### enterPictureInPictureMode

Added in [1.13.0](https://developer.android.com/jetpack/androidx/releases/activity#1.13.0)

```
final fun enterPictureInPictureMode(params: PictureInPictureParamsCompat): Unit
```

Available since API 24 in the framework Activity class, puts the activity in picture-in-picture mode if possible in the current system state. Any prior calls to `https://developer.android.com/reference/kotlin/androidx/core/app/PictureInPictureProvider#setPictureInPictureParams(androidx.core.app.PictureInPictureParamsCompat)` will still apply when entering picture-in-picture through this call.

### initializeViewTreeOwners

Added in [1.8.0](https://developer.android.com/jetpack/androidx/releases/activity#1.8.0)

```
@CallSuper
open fun initializeViewTreeOwners(): Unit
```

Sets the view tree owners before setting the content view so that the inflation process and attach listeners will see them already present.

### invalidateMenu

Added in [1.4.0](https://developer.android.com/jetpack/androidx/releases/activity#1.4.0)

```
open fun invalidateMenu(): Unit
```

Invalidates the `https://developer.android.com/reference/android/view/Menu.html` to ensure that what is displayed matches the current internal state of the menu. This should be called whenever the state of the menu is changed, such as items being removed or disabled based on some user event.

### onBackPressed

Added in [1.6.0](https://developer.android.com/jetpack/androidx/releases/activity#1.6.0)

```
@MainThread
@CallSuper
open fun [onBackPressed](https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity#onBackPressed())(): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> This method has been deprecated in favor of using the {@link OnBackPressedDispatcher} via {@link #getOnBackPressedDispatcher()}. The OnBackPressedDispatcher controls how back button events are dispatched to one or more {@link OnBackPressedCallback} objects.

Called when the activity has detected the user's press of the back key. The `https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity#onBackPressedDispatcher()` will be given a chance to handle the back button before the default behavior of `https://developer.android.com/reference/android/app/Activity.html#onBackPressed()` is invoked.

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity#onBackPressedDispatcher()` |   |

### onConfigurationChanged

```
@CallSuper
open fun onConfigurationChanged(newConfig: Configuration): Unit
```

{@inheritDoc}

Dispatches this call to all listeners added via `https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity#addOnConfigurationChangedListener(androidx.core.util.Consumer)`.

### onCreatePanelMenu

```
open fun onCreatePanelMenu(featureId: Int, menu: Menu): Boolean
```

### onMenuItemSelected

```
open fun onMenuItemSelected(featureId: Int, item: MenuItem): Boolean
```

### onMultiWindowModeChanged

Added in [1.5.0](https://developer.android.com/jetpack/androidx/releases/activity#1.5.0)

```
@CallSuper
open fun [onMultiWindowModeChanged](https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity#onMultiWindowModeChanged(kotlin.Boolean))(isInMultiWindowMode: Boolean): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Deprecated in android.app.Activity

{@inheritDoc}

Dispatches this call to all listeners added via `https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity#addOnMultiWindowModeChangedListener(androidx.core.util.Consumer)`.

### onMultiWindowModeChanged

```
@RequiresApi(api = 26)
@CallSuper
open fun onMultiWindowModeChanged(
    isInMultiWindowMode: Boolean,
    newConfig: Configuration
): Unit
```

{@inheritDoc}

Dispatches this call to all listeners added via `https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity#addOnMultiWindowModeChangedListener(androidx.core.util.Consumer)`.

### onPanelClosed

```
open fun onPanelClosed(featureId: Int, menu: Menu): Unit
```

### onPictureInPictureModeChanged

Added in [1.5.0](https://developer.android.com/jetpack/androidx/releases/activity#1.5.0)

```
@CallSuper
open fun [onPictureInPictureModeChanged](https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity#onPictureInPictureModeChanged(kotlin.Boolean))(isInPictureInPictureMode: Boolean): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Deprecated in android.app.Activity

{@inheritDoc}

Dispatches this call to all listeners added via `https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity#addOnPictureInPictureModeChangedListener(androidx.core.util.Consumer)`.

### onPictureInPictureModeChanged

```
@RequiresApi(api = 26)
@CallSuper
open fun onPictureInPictureModeChanged(
    isInPictureInPictureMode: Boolean,
    newConfig: Configuration
): Unit
```

{@inheritDoc}

Dispatches this call to all listeners added via `https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity#addOnPictureInPictureModeChangedListener(androidx.core.util.Consumer)`.

### onPictureInPictureUiStateChanged

```
@RequiresApi(api = 31)
@CallSuper
open fun onPictureInPictureUiStateChanged(pipState: PictureInPictureUiState): Unit
```

{@inheritDoc}

### onPreparePanel

```
open fun onPreparePanel(featureId: Int, view: View?, menu: Menu): Boolean
```

### onRequestPermissionsResult

Added in [1.2.0](https://developer.android.com/jetpack/androidx/releases/activity#1.2.0) Deprecated in [1.2.0](https://developer.android.com/jetpack/androidx/releases/activity#1.2.0)

```
@CallSuper
open fun [onRequestPermissionsResult](https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity#onRequestPermissionsResult(kotlin.Int,kotlin.Array,kotlin.IntArray))(
    requestCode: Int,
    permissions: Array<String>,
    grantResults: IntArray
): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> This method has been deprecated in favor of using the Activity Result API which brings increased type safety via an {@link ActivityResultContract} and the prebuilt contracts for common intents available in {@link androidx.activity.result.contract.ActivityResultContracts}, provides hooks for testing, and allow receiving results in separate, testable classes independent from your activity. Use {@link #registerForActivityResult(ActivityResultContract, ActivityResultCallback)} passing in a {@link RequestMultiplePermissions} object for the {@link ActivityResultContract} and handling the result in the {@link ActivityResultCallback#onActivityResult(Object) callback}.

{@inheritDoc}

### onRetainCustomNonConfigurationInstance

Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/activity#1.0.0) Deprecated in [1.0.0](https://developer.android.com/jetpack/androidx/releases/activity#1.0.0)

```
open fun [onRetainCustomNonConfigurationInstance](https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity#onRetainCustomNonConfigurationInstance())(): Any?
```

> [!CAUTION]
> **This function is deprecated.**   
> Use a {@link androidx.lifecycle.ViewModel} to store non config state.

Use this instead of `https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity#onRetainNonConfigurationInstance()`. Retrieve later with `https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity#lastCustomNonConfigurationInstance()`.

### onRetainNonConfigurationInstance

Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/activity#1.0.0)

```
final fun onRetainNonConfigurationInstance(): Any?
```

Retain all appropriate non-config state. You can NOT override this yourself! Use a `https://developer.android.com/reference/kotlin/androidx/lifecycle/ViewModel` if you want to retain your own non config state.

### onTrimMemory

```
@CallSuper
open fun onTrimMemory(level: Int): Unit
```

{@inheritDoc}

Dispatches this call to all listeners added via `https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity#addOnTrimMemoryListener(androidx.core.util.Consumer)`.

### peekAvailableContext

```
open fun peekAvailableContext(): Context?
```

Get the `https://developer.android.com/reference/android/content/Context.html` if it is currently available. If this returns `null`, you can use `https://developer.android.com/reference/kotlin/androidx/activity/contextaware/ContextAware#addOnContextAvailableListener(androidx.activity.contextaware.OnContextAvailableListener)` to receive a callback for when it available.

| Returns |
|---|---|
| `https://developer.android.com/reference/android/content/Context.html?` | the Context if it is currently available. |

### registerForActivityResult

```
final fun <I : Any?, O : Any?> registerForActivityResult(
    contract: ActivityResultContract<I, O>,
    callback: ActivityResultCallback<O>
): ActivityResultLauncher<I>
```

Register a request to `https://developer.android.com/reference/android/app/Activity.html#startActivityForResult(android.content.Intent, int)`, designated by the given `https://developer.android.com/reference/kotlin/androidx/activity/result/contract/ActivityResultContract`.

This creates a record in the `https://developer.android.com/reference/kotlin/androidx/activity/result/ActivityResultRegistry` associated with this caller, managing request code, as well as conversions to/from `https://developer.android.com/reference/android/content/Intent.html` under the hood.

This *must* be called unconditionally, as part of initialization path, typically as a field initializer of an Activity or Fragment.

| Parameters |
|---|---|
| `<I : https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html?>` | the type of the input(if any) required to call the activity |
| `<O : https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html?>` | the type of output returned as an activity result |
| `contract: https://developer.android.com/reference/kotlin/androidx/activity/result/contract/ActivityResultContract<I, O>` | the contract, specifying conversions to/from `https://developer.android.com/reference/android/content/Intent.html`s |
| `callback: https://developer.android.com/reference/kotlin/androidx/activity/result/ActivityResultCallback<O>` | the callback to be called on the main thread when activity result is available |

| Returns |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/activity/result/ActivityResultLauncher<I>` | the launcher that can be used to start the activity or dispose of the prepared call. |

### registerForActivityResult

```
final fun <I : Any?, O : Any?> registerForActivityResult(
    contract: ActivityResultContract<I, O>,
    registry: ActivityResultRegistry,
    callback: ActivityResultCallback<O>
): ActivityResultLauncher<I>
```

Register a request to `https://developer.android.com/reference/android/app/Activity.html#startActivityForResult(android.content.Intent, int)`, designated by the given `https://developer.android.com/reference/kotlin/androidx/activity/result/contract/ActivityResultContract`.

This creates a record in the given `https://developer.android.com/reference/kotlin/androidx/activity/result/ActivityResultRegistry`, managing request code, as well as conversions to/from `https://developer.android.com/reference/android/content/Intent.html` under the hood.

This *must* be called unconditionally, as part of initialization path, typically as a field initializer of an Activity or Fragment.

| Parameters |
|---|---|
| `<I : https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html?>` | the type of the input(if any) required to call the activity |
| `<O : https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html?>` | the type of output returned as an activity result |
| `contract: https://developer.android.com/reference/kotlin/androidx/activity/result/contract/ActivityResultContract<I, O>` | the contract, specifying conversions to/from `https://developer.android.com/reference/android/content/Intent.html`s |
| `registry: https://developer.android.com/reference/kotlin/androidx/activity/result/ActivityResultRegistry` | the registry where to hold the record. |
| `callback: https://developer.android.com/reference/kotlin/androidx/activity/result/ActivityResultCallback<O>` | the callback to be called on the main thread when activity result is available |

| Returns |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/activity/result/ActivityResultLauncher<I>` | the launcher that can be used to start the activity or dispose of the prepared call. |

### removeMenuProvider

Added in [1.4.0](https://developer.android.com/jetpack/androidx/releases/activity#1.4.0)

```
open fun removeMenuProvider(provider: MenuProvider): Unit
```

Removes the given `https://developer.android.com/reference/kotlin/androidx/core/view/MenuProvider` from this `https://developer.android.com/reference/kotlin/androidx/core/view/MenuHost`.

| Parameters |
|---|---|
| `provider: https://developer.android.com/reference/kotlin/androidx/core/view/MenuProvider` | the MenuProvider to be removed |

### removeOnConfigurationChangedListener

Added in [1.5.0](https://developer.android.com/jetpack/androidx/releases/activity#1.5.0)

```
final fun removeOnConfigurationChangedListener(listener: Consumer<Configuration>): Unit
```

Remove a previously added listener. It will not receive any future callbacks.

| Parameters |
|---|---|
| `listener: https://developer.android.com/reference/kotlin/androidx/core/util/Consumer<https://developer.android.com/reference/android/content/res/Configuration.html>` | The listener previously added with `https://developer.android.com/reference/kotlin/androidx/core/content/OnConfigurationChangedProvider#addOnConfigurationChangedListener(androidx.core.util.Consumer)` that should be removed. |

### removeOnContextAvailableListener

```
final fun removeOnContextAvailableListener(listener: OnContextAvailableListener): Unit
```

Remove a `https://developer.android.com/reference/kotlin/androidx/activity/contextaware/OnContextAvailableListener` previously added via `https://developer.android.com/reference/kotlin/androidx/activity/contextaware/ContextAware#addOnContextAvailableListener(androidx.activity.contextaware.OnContextAvailableListener)`.

| Parameters |
|---|---|
| `listener: https://developer.android.com/reference/kotlin/androidx/activity/contextaware/OnContextAvailableListener` | The listener that should be removed. |

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/activity/contextaware/ContextAware#addOnContextAvailableListener(androidx.activity.contextaware.OnContextAvailableListener)` |   |

### removeOnMultiWindowModeChangedListener

Added in [1.5.0](https://developer.android.com/jetpack/androidx/releases/activity#1.5.0)

```
final fun removeOnMultiWindowModeChangedListener(
    listener: Consumer<MultiWindowModeChangedInfo>
): Unit
```

Remove a previously added listener. It will not receive any future callbacks.

| Parameters |
|---|---|
| `listener: https://developer.android.com/reference/kotlin/androidx/core/util/Consumer<https://developer.android.com/reference/kotlin/androidx/core/app/MultiWindowModeChangedInfo>` | The listener previously added with `https://developer.android.com/reference/kotlin/androidx/core/app/OnMultiWindowModeChangedProvider#addOnMultiWindowModeChangedListener(androidx.core.util.Consumer)` that should be removed. |

### removeOnNewIntentListener

Added in [1.5.0](https://developer.android.com/jetpack/androidx/releases/activity#1.5.0)

```
final fun removeOnNewIntentListener(listener: Consumer<Intent>): Unit
```

Remove a previously added listener. It will not receive any future callbacks.

| Parameters |
|---|---|
| `listener: https://developer.android.com/reference/kotlin/androidx/core/util/Consumer<https://developer.android.com/reference/android/content/Intent.html>` | The listener previously added with `https://developer.android.com/reference/kotlin/androidx/core/app/OnNewIntentProvider#addOnNewIntentListener(androidx.core.util.Consumer)` that should be removed. |

### removeOnPictureInPictureModeChangedListener

Added in [1.5.0](https://developer.android.com/jetpack/androidx/releases/activity#1.5.0)

```
final fun removeOnPictureInPictureModeChangedListener(
    listener: Consumer<PictureInPictureModeChangedInfo>
): Unit
```

Remove a previously added listener. It will not receive any future callbacks.

| Parameters |
|---|---|
| `listener: https://developer.android.com/reference/kotlin/androidx/core/util/Consumer<https://developer.android.com/reference/kotlin/androidx/core/app/PictureInPictureModeChangedInfo>` | The listener previously added with `https://developer.android.com/reference/kotlin/androidx/core/app/OnPictureInPictureModeChangedProvider#addOnPictureInPictureModeChangedListener(androidx.core.util.Consumer)` that should be removed. |

### removeOnPictureInPictureUiStateChangedListener

Added in [1.13.0](https://developer.android.com/jetpack/androidx/releases/activity#1.13.0)

```
final fun removeOnPictureInPictureUiStateChangedListener(
    listener: Consumer<PictureInPictureUiStateCompat>
): Unit
```

Remove a previously added listener. It will not receive any future callbacks.

| Parameters |
|---|---|
| `listener: https://developer.android.com/reference/kotlin/androidx/core/util/Consumer<https://developer.android.com/reference/kotlin/androidx/core/app/PictureInPictureUiStateCompat>` | The listener previously added with `https://developer.android.com/reference/kotlin/androidx/core/app/OnPictureInPictureUiStateChangedProvider#addOnPictureInPictureUiStateChangedListener(androidx.core.util.Consumer)` that should be removed. |

### removeOnTrimMemoryListener

Added in [1.5.0](https://developer.android.com/jetpack/androidx/releases/activity#1.5.0)

```
final fun removeOnTrimMemoryListener(listener: Consumer<Int>): Unit
```

Remove a previously added listener. It will not receive any future callbacks.

| Parameters |
|---|---|
| `listener: https://developer.android.com/reference/kotlin/androidx/core/util/Consumer<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html>` | The listener previously added with .addOnTrimMemoryListener that should be removed. |

### removeOnUserLeaveHintListener

Added in [1.9.0](https://developer.android.com/jetpack/androidx/releases/activity#1.9.0)

```
final fun removeOnUserLeaveHintListener(listener: Runnable): Unit
```

Remove a previously added listener. It will not receive any future callbacks.

| Parameters |
|---|---|
| `listener: https://developer.android.com/reference/java/lang/Runnable.html` | The listener previously added with `https://developer.android.com/reference/kotlin/androidx/core/app/OnUserLeaveHintProvider#addOnUserLeaveHintListener(java.lang.Runnable)` that should be removed. |

### reportFullyDrawn

```
open fun reportFullyDrawn(): Unit
```

### setContentView

```
open fun setContentView(layoutResID: @LayoutRes Int): Unit
```

### setContentView

```
open fun setContentView(view: View?): Unit
```

### setContentView

```
open fun setContentView(view: View?, params: ViewGroup.LayoutParams?): Unit
```

### setPictureInPictureParams

Added in [1.13.0](https://developer.android.com/jetpack/androidx/releases/activity#1.13.0)

```
final fun setPictureInPictureParams(params: PictureInPictureParamsCompat): Unit
```

Available since API 26 in the framework Activity class, updates the properties of the picture-in-picture activity, or sets it to be used later when `https://developer.android.com/reference/kotlin/androidx/core/app/PictureInPictureProvider#enterPictureInPictureMode(androidx.core.app.PictureInPictureParamsCompat)` is called

| Parameters |
|---|---|
| `params: https://developer.android.com/reference/kotlin/androidx/core/app/PictureInPictureParamsCompat` | `https://developer.android.com/reference/android/app/PictureInPictureParams.html` to use for picture-in-picture mode. |

### startActivityForResult

Added in [1.2.0](https://developer.android.com/jetpack/androidx/releases/activity#1.2.0) Deprecated in [1.2.0](https://developer.android.com/jetpack/androidx/releases/activity#1.2.0)

```
open fun [startActivityForResult](https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity#startActivityForResult(android.content.Intent,kotlin.Int))(intent: Intent, requestCode: Int): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> This method has been deprecated in favor of using the Activity Result API which brings increased type safety via an {@link ActivityResultContract} and the prebuilt contracts for common intents available in {@link androidx.activity.result.contract.ActivityResultContracts}, provides hooks for testing, and allow receiving results in separate, testable classes independent from your activity. Use {@link #registerForActivityResult(ActivityResultContract, ActivityResultCallback)} passing in a {@link StartActivityForResult} object for the {@link ActivityResultContract}.

{@inheritDoc}

### startActivityForResult

Added in [1.2.0](https://developer.android.com/jetpack/androidx/releases/activity#1.2.0) Deprecated in [1.2.0](https://developer.android.com/jetpack/androidx/releases/activity#1.2.0)

```
open fun [startActivityForResult](https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity#startActivityForResult(android.content.Intent,kotlin.Int,android.os.Bundle))(intent: Intent, requestCode: Int, options: Bundle?): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> This method has been deprecated in favor of using the Activity Result API which brings increased type safety via an {@link ActivityResultContract} and the prebuilt contracts for common intents available in {@link androidx.activity.result.contract.ActivityResultContracts}, provides hooks for testing, and allow receiving results in separate, testable classes independent from your activity. Use {@link #registerForActivityResult(ActivityResultContract, ActivityResultCallback)} passing in a {@link StartActivityForResult} object for the {@link ActivityResultContract}.

{@inheritDoc}

### startIntentSenderForResult

Added in [1.2.0](https://developer.android.com/jetpack/androidx/releases/activity#1.2.0) Deprecated in [1.2.0](https://developer.android.com/jetpack/androidx/releases/activity#1.2.0)

```
open fun [startIntentSenderForResult](https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity#startIntentSenderForResult(android.content.IntentSender,kotlin.Int,android.content.Intent,kotlin.Int,kotlin.Int,kotlin.Int))(
    intent: IntentSender,
    requestCode: Int,
    fillInIntent: Intent?,
    flagsMask: Int,
    flagsValues: Int,
    extraFlags: Int
): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> This method has been deprecated in favor of using the Activity Result API which brings increased type safety via an {@link ActivityResultContract} and the prebuilt contracts for common intents available in {@link androidx.activity.result.contract.ActivityResultContracts}, provides hooks for testing, and allow receiving results in separate, testable classes independent from your activity. Use {@link #registerForActivityResult(ActivityResultContract, ActivityResultCallback)} passing in a {@link StartIntentSenderForResult} object for the {@link ActivityResultContract}.

{@inheritDoc}

### startIntentSenderForResult

Added in [1.2.0](https://developer.android.com/jetpack/androidx/releases/activity#1.2.0) Deprecated in [1.2.0](https://developer.android.com/jetpack/androidx/releases/activity#1.2.0)

```
open fun [startIntentSenderForResult](https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity#startIntentSenderForResult(android.content.IntentSender,kotlin.Int,android.content.Intent,kotlin.Int,kotlin.Int,kotlin.Int,android.os.Bundle))(
    intent: IntentSender,
    requestCode: Int,
    fillInIntent: Intent?,
    flagsMask: Int,
    flagsValues: Int,
    extraFlags: Int,
    options: Bundle?
): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> This method has been deprecated in favor of using the Activity Result API which brings increased type safety via an {@link ActivityResultContract} and the prebuilt contracts for common intents available in {@link androidx.activity.result.contract.ActivityResultContracts}, provides hooks for testing, and allow receiving results in separate, testable classes independent from your activity. Use {@link #registerForActivityResult(ActivityResultContract, ActivityResultCallback)} passing in a {@link StartIntentSenderForResult} object for the {@link ActivityResultContract}.

{@inheritDoc}

## Protected functions

### onActivityResult

Added in [1.2.0](https://developer.android.com/jetpack/androidx/releases/activity#1.2.0) Deprecated in [1.2.0](https://developer.android.com/jetpack/androidx/releases/activity#1.2.0)

```
@CallSuper
protected open fun [onActivityResult](https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity#onActivityResult(kotlin.Int,kotlin.Int,android.content.Intent))(requestCode: Int, resultCode: Int, data: Intent?): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> This method has been deprecated in favor of using the Activity Result API which brings increased type safety via an {@link ActivityResultContract} and the prebuilt contracts for common intents available in {@link androidx.activity.result.contract.ActivityResultContracts}, provides hooks for testing, and allow receiving results in separate, testable classes independent from your activity. Use {@link #registerForActivityResult(ActivityResultContract, ActivityResultCallback)} with the appropriate {@link ActivityResultContract} and handling the result in the {@link ActivityResultCallback#onActivityResult(Object) callback}.

{@inheritDoc}

### onCreate

```
protected open fun onCreate(savedInstanceState: Bundle?): Unit
```

{@inheritDoc}

If your ComponentActivity is annotated with `https://developer.android.com/reference/kotlin/androidx/annotation/ContentView`, this will call `https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity#setContentView(kotlin.Int)` for you.

### onNewIntent

```
@CallSuper
protected open fun onNewIntent(intent: Intent): Unit
```

{@inheritDoc}

Dispatches this call to all listeners added via `https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity#addOnNewIntentListener(androidx.core.util.Consumer)`.

### onSaveInstanceState

```
@CallSuper
protected open fun onSaveInstanceState(outState: Bundle): Unit
```

### onUserLeaveHint

```
@CallSuper
protected open fun onUserLeaveHint(): Unit
```

{@inheritDoc}

Dispatches this call to all listeners added via `https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity#addOnUserLeaveHintListener(java.lang.Runnable)`.

## Public properties

### activityResultRegistry

```
final val activityResultRegistry: ActivityResultRegistry
```

Get the `https://developer.android.com/reference/kotlin/androidx/activity/result/ActivityResultRegistry` associated with this activity.

| Returns |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/activity/result/ActivityResultRegistry` | the `https://developer.android.com/reference/kotlin/androidx/activity/result/ActivityResultRegistry` |

### defaultViewModelArgs

Added in [1.14.0-alpha03](https://developer.android.com/jetpack/androidx/releases/activity#1.14.0-alpha03)

```
open val defaultViewModelArgs: Bundle?
```

The default arguments `https://developer.android.com/reference/android/os/Bundle.html` to pass to `https://developer.android.com/reference/kotlin/androidx/lifecycle/package-summary#DEFAULT_ARGS_KEY()` in `https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity#defaultViewModelCreationExtras()`.

For exported activities (activities that can be launched by external applications), this returns `null` by default to prevent untrusted intent extras from populating ViewModel saved state. For non-exported activities, this returns `intent?.extras`.

Override this property to explicitly pass or validate intent extras for ViewModels created by this Activity.

### defaultViewModelCreationExtras

```
open val defaultViewModelCreationExtras: CreationExtras
```

### defaultViewModelProviderFactory

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/activity#1.1.0)

```
open val defaultViewModelProviderFactory: ViewModelProvider.Factory
```

### fullyDrawnReporter

```
open val fullyDrawnReporter: FullyDrawnReporter
```

Retrieve the `https://developer.android.com/reference/kotlin/androidx/activity/FullyDrawnReporter` that should handle the independent parts of the UI that separately report that they are fully drawn.

### lastCustomNonConfigurationInstance

Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/activity#1.0.0) Deprecated in [1.0.0](https://developer.android.com/jetpack/androidx/releases/activity#1.0.0)

```
open val lastCustomNonConfigurationInstance: Any?
```

> [!CAUTION]
> **This property is deprecated.**   
> Use a {@link androidx.lifecycle.ViewModel} to store non config state.

### lifecycle

Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/activity#1.0.0)

```
open val lifecycle: Lifecycle
```

{@inheritDoc}

Overriding this method is no longer supported and this method will be made `final` in a future version of ComponentActivity. If you do override this method, you *must*:

1. Return an instance of `https://developer.android.com/reference/kotlin/androidx/lifecycle/LifecycleRegistry`

2. Lazily initialize your LifecycleRegistry object when this is first called.

Note that this method will be called in the super classes' constructor, before any field initialization or object state creation is complete.

### navigationEventDispatcher

Added in [1.12.0](https://developer.android.com/jetpack/androidx/releases/activity#1.12.0)

```
open val navigationEventDispatcher: NavigationEventDispatcher
```

Lazily provides a `https://developer.android.com/reference/kotlin/androidx/navigationevent/NavigationEventDispatcher` for back navigation handling, including support for predictive back gestures introduced in Android 13 (API 33+).

This dispatcher acts as the central point for back navigation events. When a navigation event occurs (e.g., a back gesture), it safely invokes `https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity#onBackPressed()`.

### Not stable for override

**This property is not intended for override.** It is technically `open` for binary compatibility with previous versions, but overriding this property is unsupported.

### onBackPressedDispatcher

```
final val onBackPressedDispatcher: OnBackPressedDispatcher
```

Retrieve the `https://developer.android.com/reference/kotlin/androidx/activity/OnBackPressedDispatcher` that will be triggered when `https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity#onBackPressed()` is called.

| Returns |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/activity/OnBackPressedDispatcher` | The `https://developer.android.com/reference/kotlin/androidx/activity/OnBackPressedDispatcher` associated with this ComponentActivity. |

### savedStateRegistry

Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/activity#1.0.0)

```
final val savedStateRegistry: SavedStateRegistry
```

### viewModelStore

Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/activity#1.0.0)

```
open val viewModelStore: ViewModelStore
```

## Extension functions

### ComponentActivity.requestFullSpace

Artifact: [androidx.xr.compose:compose](https://developer.android.com/jetpack/androidx/releases/xr-compose) [View Source](https://cs.android.com/search?q=file:androidx/xr/compose/platform/ActivityExt.kt+function:requestFullSpace)

```
suspend fun ComponentActivity.requestFullSpace(): SpaceRequestResult
```

Request that the system place the application into full space.

In full space, this application will be the only application in the visible space, its spatial capabilities will be expanded, and its physical bounds will expand to fill the entire virtual space.

This suspend function initiates an asynchronous OS-level space change and will resume with `https://developer.android.com/reference/kotlin/androidx/xr/compose/platform/SpaceRequestResult.Success` once the application has successfully entered full space. If the device does not support XR spaces, it will resume immediately with `https://developer.android.com/reference/kotlin/androidx/xr/compose/platform/SpaceRequestResult.Unsupported`.

Note: Because full space and home space changes are OS-level system changes, the space switch cannot be aborted mid-flight once initiated. Cancelling this coroutine unregisters the bounds listener but does not interrupt the ongoing space change. If `requestFullSpace` or `https://developer.android.com/reference/kotlin/androidx/xr/compose/platform/package-summary#(androidx.activity.ComponentActivity).requestHomeSpace()` is called again before this request completes, the coroutine suspended on this call will be cancelled with a `CancellationException`.

See [modes in XR](https://developer.android.com/design/ui/xr/guides/foundations#modes).

| Returns |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/xr/compose/platform/SpaceRequestResult` | `https://developer.android.com/reference/kotlin/androidx/xr/compose/platform/SpaceRequestResult.Success` if the application successfully enters full space, `https://developer.android.com/reference/kotlin/androidx/xr/compose/platform/SpaceRequestResult.Unsupported` if the device does not support XR spaces, or `https://developer.android.com/reference/kotlin/androidx/xr/compose/platform/SpaceRequestResult.Error` if a system error occurs. |

### ComponentActivity.requestHomeSpace

Artifact: [androidx.xr.compose:compose](https://developer.android.com/jetpack/androidx/releases/xr-compose) [View Source](https://cs.android.com/search?q=file:androidx/xr/compose/platform/ActivityExt.kt+function:requestHomeSpace)

```
suspend fun ComponentActivity.requestHomeSpace(): SpaceRequestResult
```

Request that the system place the application into home space.

In home space, the visible space may be shared with other applications; however, applications in home space will have their spatial capabilities and physical bounds limited.

This suspend function initiates an asynchronous OS-level space change and will resume with `https://developer.android.com/reference/kotlin/androidx/xr/compose/platform/SpaceRequestResult.Success` once the application has successfully entered home space. If the device does not support XR spaces, it will resume immediately with `https://developer.android.com/reference/kotlin/androidx/xr/compose/platform/SpaceRequestResult.Unsupported`.

Note: Because full space and home space changes are OS-level system changes, the space switch cannot be aborted mid-flight once initiated. Cancelling this coroutine unregisters the bounds listener but does not interrupt the ongoing space change. If `https://developer.android.com/reference/kotlin/androidx/xr/compose/platform/package-summary#(androidx.activity.ComponentActivity).requestFullSpace()` or `requestHomeSpace` is called again before this request completes, the coroutine suspended on this call will be cancelled with a `CancellationException`.

See [modes in XR](https://developer.android.com/design/ui/xr/guides/foundations#modes).

| Returns |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/xr/compose/platform/SpaceRequestResult` | `https://developer.android.com/reference/kotlin/androidx/xr/compose/platform/SpaceRequestResult.Success` if the application successfully enters home space, `https://developer.android.com/reference/kotlin/androidx/xr/compose/platform/SpaceRequestResult.Unsupported` if the device does not support XR spaces, or `https://developer.android.com/reference/kotlin/androidx/xr/compose/platform/SpaceRequestResult.Error` if a system error occurs. |

### ComponentActivity.viewModels

Artifact: [androidx.activity:activity](https://developer.android.com/jetpack/androidx/releases/activity) [View Source](https://cs.android.com/search?q=file:androidx/activity/ActivityViewModelLazy.kt+function:viewModels)

```
@MainThread
inline fun <VM : ViewModel> ComponentActivity.viewModels(
    noinline extrasProducer: (() -> CreationExtras)? = null,
    noinline factoryProducer: (() -> ViewModelProvider.Factory)? = null
): Lazy<VM>
```

Returns a `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-lazy/index.html` delegate to access the ComponentActivity's ViewModel, if `https://developer.android.com/reference/kotlin/androidx/activity/package-summary#(androidx.activity.ComponentActivity).viewModels(kotlin.Function0,kotlin.Function0)` is specified then `https://developer.android.com/reference/kotlin/androidx/lifecycle/ViewModelProvider.Factory` returned by it will be used to create `https://developer.android.com/reference/kotlin/androidx/lifecycle/ViewModel` first time.

```kotlin
class MyComponentActivity : ComponentActivity() {
    val viewmodel: MyViewModel by viewModels()
}
```

This property can be accessed only after the Activity is attached to the Application, and access prior to that will result in IllegalArgumentException.

### ComponentActivity.viewModels

Artifact: [androidx.activity:activity](https://developer.android.com/jetpack/androidx/releases/activity) [View Source](https://cs.android.com/search?q=file:androidx/activity/ActivityViewModelLazy.kt+function:viewModels)

```
@MainThread
inline fun <T : ViewModel> ComponentActivity.viewModels(
    key: String,
    noinline extrasProducer: (() -> CreationExtras)? = null,
    noinline factoryProducer: (() -> ViewModelProvider.Factory)? = null
): Lazy<T>
```

Returns a `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-lazy/index.html` delegate for this `https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity`'s `https://developer.android.com/reference/kotlin/androidx/lifecycle/ViewModel` identified by `https://developer.android.com/reference/kotlin/androidx/activity/package-summary#(androidx.activity.ComponentActivity).viewModels(kotlin.String,kotlin.Function0,kotlin.Function0)`.

Delegates with the same `https://developer.android.com/reference/kotlin/androidx/activity/package-summary#(androidx.activity.ComponentActivity).viewModels(kotlin.String,kotlin.Function0,kotlin.Function0)` and `https://developer.android.com/reference/kotlin/androidx/lifecycle/ViewModel` type share the same instance. Different keys allow multiple instances of the same `https://developer.android.com/reference/kotlin/androidx/lifecycle/ViewModel` type in this activity.

```kotlin
class MyComponentActivity : ComponentActivity() {
    val primaryViewModel: MyViewModel by viewModels(key = "primary")
    val secondaryViewModel: MyViewModel by viewModels(key = "secondary")
}
```

This property can be accessed only after the Activity is attached to the Application. Access before that results in an `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html`.

| Parameters |
|---|---|
| `key: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` | identifier used to store and retrieve the `https://developer.android.com/reference/kotlin/androidx/lifecycle/ViewModel` |
| `noinline extrasProducer: (() -> https://developer.android.com/reference/kotlin/androidx/lifecycle/viewmodel/CreationExtras)? = null` | producer of the `https://developer.android.com/reference/kotlin/androidx/lifecycle/viewmodel/CreationExtras` used to create the `https://developer.android.com/reference/kotlin/androidx/lifecycle/ViewModel` |
| `noinline factoryProducer: (() -> https://developer.android.com/reference/kotlin/androidx/lifecycle/ViewModelProvider.Factory)? = null` | producer of the `https://developer.android.com/reference/kotlin/androidx/lifecycle/ViewModelProvider.Factory` used to create the `https://developer.android.com/reference/kotlin/androidx/lifecycle/ViewModel` |

### ComponentActivity.registerForAuthenticationResult

Artifact: [androidx.biometric:biometric](https://developer.android.com/jetpack/androidx/releases/biometric) [View Source](https://cs.android.com/search?q=file:androidx/biometric/AuthenticationExtensions.kt+function:registerForAuthenticationResult)

```
fun ComponentActivity.registerForAuthenticationResult(
    resultCallback: AuthenticationResultCallback
): AuthenticationResultLauncher
```

Returns an `https://developer.android.com/reference/kotlin/androidx/biometric/AuthenticationResultLauncher` that can be used to initiate authentication.

A success or error result will be delivered to `https://developer.android.com/reference/kotlin/androidx/biometric/AuthenticationResultCallback#onAuthResult(androidx.biometric.AuthenticationResult)` and (one or more) failures will be delivered to `https://developer.android.com/reference/kotlin/androidx/biometric/AuthenticationResultCallback#onAuthAttemptFailed()`, which is set by `https://developer.android.com/reference/kotlin/androidx/biometric/package-summary#(androidx.activity.ComponentActivity).registerForAuthenticationResult(androidx.biometric.AuthenticationResultCallback)`. The callback will be executed on the main thread.

This *must* be called unconditionally, as part of initialization path, typically as a field initializer of an Activity.

Note that if multiple calls to this method are made within a single Fragment or Activity, only the callback registered by the last invocation will be saved and receive authentication results. This can result in unexpected behavior if you intend to manage multiple independent authentication flows. It is strongly recommended to avoid multiple calls to this method in such scenarios.

```kotlin
import androidx.activity.ComponentActivity
import androidx.biometric.AuthenticationRequest
import androidx.biometric.AuthenticationRequest.Biometric
import androidx.biometric.AuthenticationRequest.Companion.biometricRequest
import androidx.biometric.AuthenticationResult
import androidx.biometric.AuthenticationResultCallback
import androidx.biometric.PromptContentItemBulletedText
import androidx.biometric.registerForAuthenticationResult

class MyActivityForBiometricAuth : ComponentActivity() {
    val requestAuthentication =
        registerForAuthenticationResult(
            object : AuthenticationResultCallback {
                override fun onAuthResult(result: AuthenticationResult) {
                    when (result) {
                        // Handle successful authentication
                        is AuthenticationResult.Success -> {
                            Log.i(TAG, "onAuthenticationSucceeded with type ${result.authType}")
                        }
                        // Handle authentication error, e.g. user cancellation, lockout errors,
                        // etc
                        is AuthenticationResult.Error -> {
                            Log.i(
                                TAG,
                                "onAuthenticationError " +
                                    "with error code: ${result.errorCode} " +
                                    "and error string: ${result.errString}",
                            )
                        }
                        // Handle fallback option clicks
                        is AuthenticationResult.CustomFallbackSelected -> {
                            Log.i(TAG, "fallback is selected, text: ${result.fallback.text}")
                        }
                    }
                }

                // Handle intermediate authentication failure, this is optional and
                // not needed in most cases
                override fun onAuthAttemptFailed() {
                    Log.i(TAG, "onAuthenticationFailed, try again")
                }
            }
        )

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        val authRequest =
            biometricRequest(
                title = "Title",
                Biometric.Fallback.DeviceCredential,
                Biometric.Fallback.CustomOption(
                    text = "Use account password",
                    iconType = Biometric.Fallback.ICON_TYPE_PASSWORD,
                ),
            ) {
                setSubtitle("Subtitle")
                setContent(
                    AuthenticationRequest.BodyContent.VerticalList(
                        "Vertical list description",
                        listOf(
                            PromptContentItemBulletedText("test item1"),
                            PromptContentItemBulletedText("test item2"),
                        ),
                    )
                )
                setMinStrength(Biometric.Strength.Class2)
                setIsConfirmationRequired(true)
            }

        Button(this).setOnClickListener { requestAuthentication.launch(authRequest) }
    }
}
```

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/biometric/package-summary#(androidx.activity.ComponentActivity).registerForAuthenticationResult(java.util.concurrent.Executor,androidx.biometric.AuthenticationResultCallback)` | (Executor, AuthenticationResultCallback) |

### ComponentActivity.registerForAuthenticationResult

Artifact: [androidx.biometric:biometric](https://developer.android.com/jetpack/androidx/releases/biometric) [View Source](https://cs.android.com/search?q=file:androidx/biometric/AuthenticationExtensions.kt+function:registerForAuthenticationResult)

```
fun ComponentActivity.registerForAuthenticationResult(
    callbackExecutor: Executor,
    resultCallback: AuthenticationResultCallback
): AuthenticationResultLauncher
```

Returns an `https://developer.android.com/reference/kotlin/androidx/biometric/AuthenticationResultLauncher` that can be used to initiate authentication.

A success or error result will be delivered to `https://developer.android.com/reference/kotlin/androidx/biometric/AuthenticationResultCallback#onAuthResult(androidx.biometric.AuthenticationResult)` and (one or more) failures will be delivered to `https://developer.android.com/reference/kotlin/androidx/biometric/AuthenticationResultCallback#onAuthAttemptFailed()`, which is set by `https://developer.android.com/reference/kotlin/androidx/biometric/package-summary#(androidx.activity.ComponentActivity).registerForAuthenticationResult(java.util.concurrent.Executor,androidx.biometric.AuthenticationResultCallback)`. The callback will be executed on the thread provided by the `https://developer.android.com/reference/kotlin/androidx/biometric/package-summary#(androidx.activity.ComponentActivity).registerForAuthenticationResult(java.util.concurrent.Executor,androidx.biometric.AuthenticationResultCallback)`.

This *must* be called unconditionally, as part of initialization path, typically as a field initializer of an Activity.

Note that if multiple calls to this method are made within a single Fragment or Activity, only the callback registered by the last invocation will be saved and receive authentication results. This can result in unexpected behavior if you intend to manage multiple independent authentication flows. It is strongly recommended to avoid multiple calls to this method in such scenarios.

```kotlin
import androidx.activity.ComponentActivity
import androidx.biometric.AuthenticationRequest
import androidx.biometric.AuthenticationRequest.Biometric
import androidx.biometric.AuthenticationRequest.Companion.biometricRequest
import androidx.biometric.AuthenticationResult
import androidx.biometric.AuthenticationResultCallback
import androidx.biometric.PromptContentItemBulletedText
import androidx.biometric.registerForAuthenticationResult

class MyActivityForBiometricAuth : ComponentActivity() {
    val requestAuthentication =
        registerForAuthenticationResult(
            object : AuthenticationResultCallback {
                override fun onAuthResult(result: AuthenticationResult) {
                    when (result) {
                        // Handle successful authentication
                        is AuthenticationResult.Success -> {
                            Log.i(TAG, "onAuthenticationSucceeded with type ${result.authType}")
                        }
                        // Handle authentication error, e.g. user cancellation, lockout errors,
                        // etc
                        is AuthenticationResult.Error -> {
                            Log.i(
                                TAG,
                                "onAuthenticationError " +
                                    "with error code: ${result.errorCode} " +
                                    "and error string: ${result.errString}",
                            )
                        }
                        // Handle fallback option clicks
                        is AuthenticationResult.CustomFallbackSelected -> {
                            Log.i(TAG, "fallback is selected, text: ${result.fallback.text}")
                        }
                    }
                }

                // Handle intermediate authentication failure, this is optional and
                // not needed in most cases
                override fun onAuthAttemptFailed() {
                    Log.i(TAG, "onAuthenticationFailed, try again")
                }
            }
        )

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        val authRequest =
            biometricRequest(
                title = "Title",
                Biometric.Fallback.DeviceCredential,
                Biometric.Fallback.CustomOption(
                    text = "Use account password",
                    iconType = Biometric.Fallback.ICON_TYPE_PASSWORD,
                ),
            ) {
                setSubtitle("Subtitle")
                setContent(
                    AuthenticationRequest.BodyContent.VerticalList(
                        "Vertical list description",
                        listOf(
                            PromptContentItemBulletedText("test item1"),
                            PromptContentItemBulletedText("test item2"),
                        ),
                    )
                )
                setMinStrength(Biometric.Strength.Class2)
                setIsConfirmationRequired(true)
            }

        Button(this).setOnClickListener { requestAuthentication.launch(authRequest) }
    }
}
```

### ComponentActivity.setContent

Artifact: [androidx.activity:activity-compose](https://developer.android.com/jetpack/androidx/releases/activity) [View Source](https://cs.android.com/search?q=file:androidx/activity/compose/ComponentActivity.kt+function:setContent)

```
fun ComponentActivity.setContent(
    parent: CompositionContext? = null,
    content: @Composable () -> Unit
): Unit
```

Composes the given composable into the given activity. The `https://developer.android.com/reference/kotlin/androidx/activity/compose/package-summary#(androidx.activity.ComponentActivity).setContent(androidx.compose.runtime.CompositionContext,kotlin.Function0)` will become the root view of the given activity.

This is roughly equivalent to calling `https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity#setContentView(kotlin.Int)` with a `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/ComposeView` i.e.:

```kotlin
setContentView(
  ComposeView(this).apply {
    setContent {
      MyComposableContent()
    }
  }
)
```

| Parameters |
|---|---|
| `parent: https://developer.android.com/reference/kotlin/androidx/compose/runtime/CompositionContext? = null` | The parent composition reference to coordinate scheduling of composition updates |
| `content: @https://developer.android.com/reference/kotlin/androidx/compose/runtime/Composable () -> https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | A `@Composable` function declaring the UI contents |

### ComponentActivity.disablePipOnAppSwitch

Artifact: [androidx.core:core-pip](https://developer.android.com/jetpack/androidx/releases/core) [View Source](https://cs.android.com/search?q=file:androidx/core/pip/contentpip/ContentPipExt.kt+function:disablePipOnAppSwitch)

```
fun ComponentActivity.disablePipOnAppSwitch(
    contentPipToken: ContentPipToken
): Unit
```

Disables entering PiP on app switch for this Activity with Content PiP.

This method unregisters the listeners and observers that were added by `https://developer.android.com/reference/kotlin/androidx/core/pip/contentpip/package-summary#(androidx.activity.ComponentActivity).enablePipOnAppSwitch(androidx.core.pip.contentpip.ContentPipCallback)`. It restores the original window callback and stops monitoring lifecycle and exit hints.

**Threading:** This method must be called on the main thread of your application.

| Parameters |
|---|---|
| `contentPipToken: https://developer.android.com/reference/kotlin/androidx/core/pip/contentpip/ContentPipToken` | The token returned by `https://developer.android.com/reference/kotlin/androidx/core/pip/contentpip/package-summary#(androidx.activity.ComponentActivity).enablePipOnAppSwitch(androidx.core.pip.contentpip.ContentPipCallback)`. |

### ComponentActivity.enablePipOnAppSwitch

Artifact: [androidx.core:core-pip](https://developer.android.com/jetpack/androidx/releases/core) [View Source](https://cs.android.com/search?q=file:androidx/core/pip/contentpip/ContentPipExt.kt+function:enablePipOnAppSwitch)

```
fun ComponentActivity.enablePipOnAppSwitch(callback: ContentPipCallback): ContentPipToken
```

Enables entering PiP on app switch for this Activity with Content PiP.

This API hooks into standard Activity exit hints to trigger a fallback PiP pipeline when native [Auto-Enter](https://developer.android.com/reference/android/app/PictureInPictureParams#isAutoEnterEnabled()) is suppressed by the OS (e.g. on Quick Switch).

It also automatically monitors the Activity lifecycle and user interactions to "pull back" the player and terminate the fallback task when the user returns to the app.

It is recommended to call this method from `https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity#onCreate(android.os.Bundle)`, if it is called multiple times, only the last `https://developer.android.com/reference/kotlin/androidx/core/pip/contentpip/ContentPipCallback` is effective.

**Threading:** This callback is strictly tied to the UI toolkit and will **always** be executed synchronously on the main thread of your application.

| Parameters |
|---|---|
| `callback: https://developer.android.com/reference/kotlin/androidx/core/pip/contentpip/ContentPipCallback` | The callback to manage handoff between tasks. |

| Returns |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/core/pip/contentpip/ContentPipToken` | `https://developer.android.com/reference/kotlin/androidx/core/pip/contentpip/ContentPipToken` that caller can pass to `https://developer.android.com/reference/kotlin/androidx/core/pip/contentpip/package-summary#(androidx.activity.ComponentActivity).disablePipOnAppSwitch(androidx.core.pip.contentpip.ContentPipToken)`. |

### ComponentActivity.enableEdgeToEdge

Artifact: [androidx.activity:activity](https://developer.android.com/jetpack/androidx/releases/activity) [View Source](https://cs.android.com/search?q=file:androidx/activity/EdgeToEdge.kt+function:enableEdgeToEdge)

```
fun ComponentActivity.[enableEdgeToEdge](https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity#(androidx.activity.ComponentActivity).enableEdgeToEdge(androidx.activity.SystemBarStyle,androidx.activity.SystemBarStyle))(
    statusBarStyle: SystemBarStyle = SystemBarStyle.auto(Color.TRANSPARENT, Color.TRANSPARENT),
    navigationBarStyle: SystemBarStyle = SystemBarStyle.auto(DefaultLightScrim, DefaultDarkScrim)
): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Use {@link WindowCompat#enableEdgeToEdge(Window)} to enable edge-to-edge display. To adjust the light/dark appearance of system bar icons, use {@link WindowInsetsControllerCompat#setAppearanceLightStatusBars(boolean)} or {@link WindowInsetsControllerCompat#setAppearanceLightNavigationBars(boolean)}. To add scrim or background protection, use {@link ProtectionLayout} or handle insets directly in your view hierarchy, use this instead:
>
> ```kotlin
> WindowCompat.enableEdgeToEdge(window)
> ```

Enables the edge-to-edge display for this `https://developer.android.com/reference/kotlin/androidx/activity/ComponentActivity`.

To set it up with the default style, call this method in your Activity's onCreate method:

```kotlin
    override fun onCreate(savedInstanceState: Bundle?) {
        enableEdgeToEdge()
        super.onCreate(savedInstanceState)
        ...
    }
```

The default style configures the system bars with a transparent background when contrast can be enforced by the system (API 29 or above). On older platforms (which only have 3-button/2-button navigation modes), an equivalent scrim is applied to ensure contrast with the system bars.

See `https://developer.android.com/reference/kotlin/androidx/activity/SystemBarStyle` for more customization options.

| Parameters |
|---|---|
| `statusBarStyle: https://developer.android.com/reference/kotlin/androidx/activity/SystemBarStyle = SystemBarStyle.auto(Color.TRANSPARENT, Color.TRANSPARENT)` | The `https://developer.android.com/reference/kotlin/androidx/activity/SystemBarStyle` for the status bar. |
| `navigationBarStyle: https://developer.android.com/reference/kotlin/androidx/activity/SystemBarStyle = SystemBarStyle.auto(DefaultLightScrim, DefaultDarkScrim)` | The `https://developer.android.com/reference/kotlin/androidx/activity/SystemBarStyle` for the navigation bar. |