# androidx.compose.ui.platform

Common/AllAndroid/JVM

## Interfaces

|---|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/AccessibilityManager` | Interface for managing accessibility. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/AndroidClipboard` | Android-specific implementation of the `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/Clipboard` interface that provides access to the underlying `https://developer.android.com/reference/android/content/ClipboardManager.html`. | android |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/Clipboard` |   | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/ClipboardManager` | **This interface is deprecated.** Use Clipboard instead, which supports suspend functions. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/InfiniteAnimationPolicy` | Provides a policy that will be applied to animations that get their frame time from `https://developer.android.com/reference/kotlin/androidx/compose/animation/core/package-summary#withInfiniteAnimationFrameNanos(kotlin.Function1)` or `https://developer.android.com/reference/kotlin/androidx/compose/animation/core/package-summary#withInfiniteAnimationFrameMillis(kotlin.Function1)` This can be used to intervene in infinite animations to make them finite, for example by cancelling such coroutines. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/InspectableValue` | A compose value that is inspectable by tools. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/PlatformTextInputInterceptor` | Single-function interface passed to `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/InterceptPlatformTextInput.composable#InterceptPlatformTextInput(androidx.compose.ui.platform.PlatformTextInputInterceptor,kotlin.Function0)`. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/PlatformTextInputMethodRequest` | Represents a request to open a platform-specific text input session via `PlatformTextInputModifierNode.textInputSession`. | Cmn android |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/PlatformTextInputModifierNode` | A modifier node that can connect to the platform's text input IME system. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/PlatformTextInputSession` | Receiver type for `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/package-summary#(androidx.compose.ui.platform.PlatformTextInputModifierNode).establishTextInputSession(kotlin.coroutines.SuspendFunction1)`. | Cmn android |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/PlatformTextInputSessionScope` | A `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/PlatformTextInputSession` that is also a `https://kotlinlang.org/api/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/-coroutine-scope/index.html`. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/SoftwareKeyboardController` | Provides manual, programmatic control over the software keyboard. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/SoundEffect` | Interface representing the capability to play sound effects on user interaction. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/TaskDispatchers` | Interface providing access to `https://kotlinlang.org/api/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/-coroutine-dispatcher/index.html`s used for task execution inside a Compose hierarchy. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/TextToolbar` | Interface for text-related toolbar. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/UriHandler` | An interface of providing platform specific URL handling. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/ViewCompositionStrategy` | A strategy for managing the underlying Composition of Compose UI `https://developer.android.com/reference/android/view/View.html`s such as `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/ComposeView` and `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/AbstractComposeView`. | android |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/ViewConfiguration` | Contains methods to standard constants used in the UI for timeouts, sizes, and distances. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/ViewRootForInspector` | The marker interface to be implemented by `https://developer.android.com/reference/android/view/View.html`s that are initialized from Compose. | android |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/ViewRootForTest` | The marker interface to be implemented by the `https://developer.android.com/reference/android/view/View.html` backing the composition. | android |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/WindowInfo` | Provides information about the Window that is hosting this compose hierarchy. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/WindowRecomposerFactory` | A factory for creating an Android window-scoped `https://developer.android.com/reference/kotlin/androidx/compose/runtime/Recomposer`. | android |

## Classes

|---|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/AbstractComposeView` | Base class for custom `https://developer.android.com/reference/android/view/View.html`s implemented using Jetpack Compose UI. | android |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/AndroidUiDispatcher` | A `https://kotlinlang.org/api/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/-coroutine-dispatcher/index.html` that will perform dispatch during a `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/AndroidUiDispatcher#handler()` callback or `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/AndroidUiDispatcher#choreographer()`'s animation frame stage, whichever comes first. | android |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/AndroidUiFrameClock` |   | android |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/AndroidUriHandler` |   | android |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/AndroidViewConfiguration` | A `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/ViewConfiguration` with Android's default configurations. | android |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/AutoClearFocusBehavior` | A behavior for auto-clearing focus for `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/ComposeView`. | android |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/ClipEntry` | Platform specific protocol that expresses an item in the native Clipboard. | Cmn android |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/ClipMetadata` | Platform specific protocol that describes an item in the native Clipboard. | Cmn android |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/ComposeView` | A `https://developer.android.com/reference/android/view/View.html` that can host Jetpack Compose UI content. | android |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/ComposeViewContext` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/ComposeViewContext` can be used to compose a `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/ComposeView` while it isn't attached to the view hierarchy. | android |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/InspectableModifier` | **This class is deprecated.** This API will create more invalidations of your modifier than necessary, so it's use is discouraged. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/InspectableModifier.End` | **This class is deprecated.** This API will create more invalidations of your modifier than necessary, so it's use is discouraged. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/InspectorInfo` | A builder for an `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/InspectableValue`. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/InspectorValueInfo` | Implementation of `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/InspectableValue` based on a builder `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/InspectorInfo` DSL. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/NativeClipboard` | **This class is deprecated.** Use direct reference to platform type instead of typealias | Cmn android |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/ValueElement` | A `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/ValueElement` describes an element of a compose value instance. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/ValueElementSequence` | A builder for a sequence of `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/ValueElement`. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/ViewCompositionStrategy.DisposeOnLifecycleDestroyed` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/ViewCompositionStrategy` that disposes the composition when `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/ViewCompositionStrategy.DisposeOnLifecycleDestroyed#lifecycle()` is `https://developer.android.com/reference/kotlin/androidx/lifecycle/Lifecycle.Event#ON_DESTROY`. | android |

## Objects

|---|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/ComposeView.Companion` | Here to allow extension functions | android |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/InfiniteAnimationPolicy.Key` |   | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/ViewCompositionStrategy.DisposeOnDetachedFromWindow` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/ViewCompositionStrategy` that disposes the composition whenever the view becomes detached from a window. | android |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/ViewCompositionStrategy.DisposeOnDetachedFromWindowOrReleasedFromPool` | The composition will be disposed automatically when the view is detached from a window, unless it is part of a `https://developer.android.com/reference/kotlin/androidx/customview/poolingcontainer/package-summary#(android.view.View).isPoolingContainer()`, such as `RecyclerView`. | android |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/ViewCompositionStrategy.DisposeOnViewTreeLifecycleDestroyed` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/ViewCompositionStrategy` that disposes the composition when the `https://developer.android.com/reference/kotlin/androidx/lifecycle/LifecycleOwner` returned by `https://developer.android.com/reference/kotlin/androidx/lifecycle/package-summary#(android.view.View).findViewTreeLifecycleOwner()` of the next window the view is attached to is `https://developer.android.com/reference/kotlin/androidx/lifecycle/Lifecycle.Event#ON_DESTROY`. | android |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/WindowRecomposerPolicy` |   | android |

## Enums

|---|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/TextToolbarStatus` | Status of the `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/TextToolbar`. | Cmn |

## Composables

|---|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/InterceptPlatformTextInput.composable` | Intercept all calls to `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/PlatformTextInputSession#startInputMethod(androidx.compose.ui.platform.PlatformTextInputMethodRequest)` from below where this composition local is provided with the given `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/PlatformTextInputInterceptor`. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/SoundEffectOnInteraction.composable` | Configure whether sound effects are played for interactions (clicks) in the provided `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/package-summary#SoundEffectOnInteraction(kotlin.Boolean,kotlin.Function0)`. | android |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/rememberNestedScrollInteropConnection.composable` | Create and `https://developer.android.com/reference/kotlin/androidx/compose/runtime/remember.composable#remember(kotlin.Function0)` the `https://developer.android.com/reference/kotlin/androidx/compose/ui/input/nestedscroll/NestedScrollConnection` that enables Nested Scroll Interop between a View parent that implements `https://developer.android.com/reference/kotlin/androidx/core/view/NestedScrollingParent3` and a Compose child. | android |

## Modifiers

|---|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/inspectable.modifier` | Use this to group a common set of modifiers and provide `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/InspectorInfo` for the resulting modifier. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/testTag.modifier` | Applies a tag to allow modified element to be found in tests. | Cmn |

## Type aliases

|---|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/NativeClipboard` | **This type alias is deprecated.** Use android.content.ClipboardManager directly instead | android |

## Top-level functions summary

|---|---|---|
| `inline https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/InspectorInfo.() -> https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/package-summary#debugInspectorInfo(kotlin.Function1)(crossinline definitions: https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/InspectorInfo.() -> https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)` Use this to specify modifier information for compose tooling. | Cmn |

## Extension functions summary

|---|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/runtime/Recomposer` | `https://developer.android.com/reference/android/view/View.html.https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/package-summary#(android.view.View).createLifecycleAwareWindowRecomposer(kotlin.coroutines.CoroutineContext,androidx.lifecycle.Lifecycle)( coroutineContext: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.coroutines/-coroutine-context/index.html, lifecycle: https://developer.android.com/reference/kotlin/androidx/lifecycle/Lifecycle? )` Create a `https://developer.android.com/reference/kotlin/androidx/lifecycle/Lifecycle` and `https://developer.android.com/reference/android/view/View.html#isAttachedToWindow()`-aware `https://developer.android.com/reference/kotlin/androidx/compose/runtime/Recomposer` for this `https://developer.android.com/reference/android/view/View.html` with the same behavior as `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/WindowRecomposerFactory#LifecycleAware()`. | android |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/ComposeView.Companion.[disableWindowInsetsRulers](https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/package-summary#(androidx.compose.ui.platform.ComposeView.Companion).disableWindowInsetsRulers())()` **This function is deprecated.** Use WindowInsetsRulers.disable() | android |
| `suspend https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-nothing/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/PlatformTextInputModifierNode.https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/package-summary#(androidx.compose.ui.platform.PlatformTextInputModifierNode).establishTextInputSession(kotlin.coroutines.SuspendFunction1)( block: suspend https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/PlatformTextInputSessionScope.() -> https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-nothing/index.html )` Starts a new text input session and suspends until the session is closed. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/ComposeViewContext?` | `https://developer.android.com/reference/android/view/View.html.https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/package-summary#(android.view.View).findViewTreeComposeViewContext()()` Returns the `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/ComposeViewContext` used in this View's part of the hierarchy, or `null` if one cannot be found or it doesn't match the values set for `https://developer.android.com/reference/kotlin/androidx/lifecycle/package-summary#(android.view.View).findViewTreeLifecycleOwner()` or `https://developer.android.com/reference/kotlin/androidx/savedstate/package-summary#(android.view.View).findViewTreeSavedStateRegistryOwner()`. | android |
| `https://developer.android.com/reference/kotlin/androidx/compose/runtime/CompositionContext?` | `https://developer.android.com/reference/android/view/View.html.https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/package-summary#(android.view.View).findViewTreeCompositionContext()()` Returns the parent `https://developer.android.com/reference/kotlin/androidx/compose/runtime/CompositionContext` for this point in the view hierarchy, or `null` if none can be found. | android |
| `https://developer.android.com/reference/android/net/Uri.html?` | `@https://developer.android.com/reference/kotlin/androidx/compose/ui/ExperimentalComposeUiApi https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/ClipEntry.https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/package-summary#(androidx.compose.ui.platform.ClipEntry).firstUriOrNull()()` Returns the first non-null `https://developer.android.com/reference/android/net/Uri.html` from the list of `https://developer.android.com/reference/android/content/ClipData.Item.html`s in this `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/ClipEntry`. | android |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/ClipEntry` | `https://developer.android.com/reference/android/content/ClipData.html.https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/package-summary#(android.content.ClipData).toClipEntry()()` | android |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/ClipMetadata` | `https://developer.android.com/reference/android/content/ClipDescription.html.https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/package-summary#(android.content.ClipDescription).toClipMetadata()()` | android |

## Top-level properties summary

|---|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `@https://developer.android.com/reference/kotlin/androidx/compose/ui/ExperimentalComposeUiApi https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/package-summary#DisableContentCapture()` **This property is deprecated.** Use ContentCapture.isEnabled instead | android |
| `https://developer.android.com/reference/kotlin/androidx/compose/runtime/ProvidableCompositionLocal<https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/AccessibilityManager?>` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/package-summary#LocalAccessibilityManager()` The CompositionLocal to provide communication with platform accessibility service. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/runtime/ProvidableCompositionLocal<https://developer.android.com/reference/kotlin/androidx/compose/ui/autofill/Autofill?>` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/package-summary#LocalAutofill()` **This property is deprecated.** Use the new semantics-based Autofill APIs androidx.compose.ui.autofill.ContentType and androidx.compose.ui.autofill.ContentDataType instead. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/runtime/ProvidableCompositionLocal<https://developer.android.com/reference/kotlin/androidx/compose/ui/autofill/AutofillManager?>` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/package-summary#LocalAutofillManager()` The CompositionLocal that can be used to trigger autofill actions. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/runtime/ProvidableCompositionLocal<https://developer.android.com/reference/kotlin/androidx/compose/ui/autofill/AutofillTree>` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/package-summary#LocalAutofillTree()` **This property is deprecated.** Use the new semantics-based Autofill APIs androidx.compose.ui.autofill.ContentType and androidx.compose.ui.autofill.ContentDataType instead. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/runtime/ProvidableCompositionLocal<https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/Clipboard>` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/package-summary#LocalClipboard()` The CompositionLocal to provide communication with platform clipboard service. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/runtime/ProvidableCompositionLocal<https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/ClipboardManager>` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/package-summary#LocalClipboardManager()` **This property is deprecated.** Use LocalClipboard instead which supports suspend functions | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/runtime/ProvidableCompositionLocal<https://developer.android.com/reference/android/content/res/Configuration.html>` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/package-summary#LocalConfiguration()` The Android `https://developer.android.com/reference/android/content/res/Configuration.html`. | android |
| `https://developer.android.com/reference/kotlin/androidx/compose/runtime/ProvidableCompositionLocal<https://developer.android.com/reference/android/content/Context.html>` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/package-summary#LocalContext()` Provides a `https://developer.android.com/reference/android/content/Context.html` that can be used by Android applications. | android |
| `https://developer.android.com/reference/kotlin/androidx/compose/runtime/ProvidableCompositionLocal<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html>` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/package-summary#LocalCursorBlinkEnabled()` Text cursor blinking | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/runtime/ProvidableCompositionLocal<https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Density>` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/package-summary#LocalDensity()` Provides the `https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Density` to be used to transform between `https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp` and pixel units or `https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/TextUnit` and pixel units. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/runtime/ProvidableCompositionLocal<https://developer.android.com/reference/kotlin/androidx/compose/ui/focus/FocusManager>` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/package-summary#LocalFocusManager()` The CompositionLocal that can be used to control focus within Compose. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/runtime/ProvidableCompositionLocal<https://developer.android.com/reference/kotlin/androidx/compose/ui/text/font/FontFamily.Resolver>` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/package-summary#LocalFontFamilyResolver()` The CompositionLocal for compose font resolution from FontFamily. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/runtime/ProvidableCompositionLocal<https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/GraphicsContext>` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/package-summary#LocalGraphicsContext()` The CompositionLocal to provide access to a `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/GraphicsContext` instance for creation of `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/layer/GraphicsLayer`s. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/runtime/ProvidableCompositionLocal<https://developer.android.com/reference/kotlin/androidx/compose/ui/hapticfeedback/HapticFeedback>` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/package-summary#LocalHapticFeedback()` The CompositionLocal to provide haptic feedback to the user. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/runtime/ProvidableCompositionLocal<https://developer.android.com/reference/kotlin/androidx/compose/ui/input/InputModeManager>` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/package-summary#LocalInputModeManager()` The CompositionLocal to provide an instance of InputModeManager which controls the current input mode. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/runtime/ProvidableCompositionLocal<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html>` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/package-summary#LocalInspectionMode()` Inspectable mode CompositionLocal. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/runtime/ProvidableCompositionLocal<https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/LayoutDirection>` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/package-summary#LocalLayoutDirection()` The CompositionLocal to provide the layout direction. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/runtime/ProvidableCompositionLocal<https://developer.android.com/reference/kotlin/androidx/lifecycle/LifecycleOwner>` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/package-summary#LocalLifecycleOwner()` **This property is deprecated.** Moved to lifecycle-runtime-compose library in androidx.lifecycle.compose package. | Cmn android |
| `https://developer.android.com/reference/kotlin/androidx/compose/runtime/CompositionLocal<https://developer.android.com/reference/kotlin/androidx/compose/ui/text/intl/Locale>` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/package-summary#LocalLocale()` The CompositionLocal to provide the locale. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/runtime/CompositionLocal<https://developer.android.com/reference/kotlin/androidx/compose/ui/text/intl/LocaleList>` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/package-summary#LocalLocaleList()` The CompositionLocal to provide the locale list. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/runtime/ProvidableCompositionLocal<https://developer.android.com/reference/android/content/res/Resources.html>` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/package-summary#LocalResources()` The Android `https://developer.android.com/reference/android/content/res/Resources.html`. | android |
| `https://developer.android.com/reference/kotlin/androidx/compose/runtime/ProvidableCompositionLocal<https://developer.android.com/reference/kotlin/androidx/savedstate/SavedStateRegistryOwner>` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/package-summary#LocalSavedStateRegistryOwner()` **This property is deprecated.** Moved to savedstate-compose library in androidx.savedstate.compose package. | android |
| `https://developer.android.com/reference/kotlin/androidx/compose/runtime/CompositionLocal<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html>` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/package-summary#LocalScrollCaptureInProgress()` True when the system is currently capturing the contents of a scrollable in this compose view or any parent compose view. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/runtime/ProvidableCompositionLocal<https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/SoftwareKeyboardController?>` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/package-summary#LocalSoftwareKeyboardController()` The `https://developer.android.com/reference/kotlin/androidx/compose/runtime/CompositionLocal` to provide a `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/SoftwareKeyboardController` that can control the current software keyboard. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/runtime/ProvidableCompositionLocal<https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/SoundEffect>` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/package-summary#LocalSoundEffect()` The CompositionLocal to provide platform sound effects. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/runtime/ProvidableCompositionLocal<https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/TaskDispatchers>` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/package-summary#LocalTaskDispatchers()` The CompositionLocal to provide `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/TaskDispatchers` for running coroutines and asynchronous tasks inside a Compose UI hierarchy. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/runtime/ProvidableCompositionLocal<https://developer.android.com/reference/kotlin/androidx/compose/ui/text/input/TextInputService?>` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/package-summary#LocalTextInputService()` **This property is deprecated.** Use PlatformTextInputModifierNode instead. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/runtime/ProvidableCompositionLocal<https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/TextToolbar>` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/package-summary#LocalTextToolbar()` The CompositionLocal to provide text-related toolbar. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/runtime/ProvidableCompositionLocal<https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/UriHandler>` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/package-summary#LocalUriHandler()` The CompositionLocal to provide functionality related to URL, e.g. open URI. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/runtime/ProvidableCompositionLocal<https://developer.android.com/reference/android/view/View.html>` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/package-summary#LocalView()` The CompositionLocal containing the current Compose `https://developer.android.com/reference/android/view/View.html`. | android |
| `https://developer.android.com/reference/kotlin/androidx/compose/runtime/ProvidableCompositionLocal<https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/ViewConfiguration>` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/package-summary#LocalViewConfiguration()` The CompositionLocal that provides the ViewConfiguration. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/runtime/ProvidableCompositionLocal<https://developer.android.com/reference/android/view/Window.html?>` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/package-summary#LocalWindow()` The CompositionLocal containing the current `https://developer.android.com/reference/android/view/Window.html` if available. | android |
| `https://developer.android.com/reference/kotlin/androidx/compose/runtime/ProvidableCompositionLocal<https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/WindowInfo>` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/package-summary#LocalWindowInfo()` The CompositionLocal that provides information about the window that hosts the current `https://developer.android.com/reference/kotlin/androidx/compose/ui/node/Owner`. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/InspectorInfo.() -> https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/package-summary#NoInspectorInfo()` An empty `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/InspectorInfo` DSL. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/package-summary#isDebugInspectorInfoEnabled()` Turn on inspector debug information. | Cmn |

## Extension properties summary

|---|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/runtime/CompositionContext?` | `https://developer.android.com/reference/android/view/View.html.https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/package-summary#(android.view.View).compositionContext()` The `https://developer.android.com/reference/kotlin/androidx/compose/runtime/CompositionContext` that should be used as a parent for compositions at or below this view in the hierarchy. | android |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/WindowInfo.https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/package-summary#(androidx.compose.ui.platform.WindowInfo).isCrossWindowBlurEnabled()` Whether cross-window blur is currently enabled by the system. | android |
| `https://developer.android.com/reference/android/content/ClipboardManager.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/Clipboard.https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/package-summary#(androidx.compose.ui.platform.Clipboard).nativeClipboardManager()` Returns an `https://developer.android.com/reference/android/content/ClipboardManager.html` that exposes the full functionality of platform clipboard. | android |

## Top-level functions

### debugInspectorInfo

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/platform/InspectableValue.kt+function:debugInspectorInfo) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.0.0)

```
inline fun debugInspectorInfo(crossinline definitions: InspectorInfo.() -> Unit): InspectorInfo.() -> Unit
```

Use this to specify modifier information for compose tooling.

This factory method allows the specified information to be stripped out by ProGuard in release builds.

```kotlin
import androidx.compose.foundation.background
import androidx.compose.foundation.shape.RoundedCornerShape
import androidx.compose.ui.Modifier
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.platform.debugInspectorInfo
import androidx.compose.ui.platform.inspectable
import androidx.compose.ui.unit.Dp
import androidx.compose.ui.unit.dp

/** Sample with a single parameter */
fun Modifier.simpleFrame(color: Color) =
    inspectable(
        inspectorInfo =
            debugInspectorInfo {
                name = "simpleFrame"
                value = color
            }
    ) {
        background(color, RoundedCornerShape(5.0.dp))
    }

/** Sample with multiple parameters */
fun Modifier.fancyFrame(size: Dp, color: Color) =
    inspectable(
        inspectorInfo =
            debugInspectorInfo {
                name = "fancyFrame"
                properties["size"] = size
                properties["color"] = color
            }
    ) {
        background(color, RoundedCornerShape(size))
    }
```

## Extension functions

### View.createLifecycleAwareWindowRecomposer

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

```
fun View.createLifecycleAwareWindowRecomposer(
    coroutineContext: CoroutineContext = EmptyCoroutineContext,
    lifecycle: Lifecycle? = null
): Recomposer
```

Create a `https://developer.android.com/reference/kotlin/androidx/lifecycle/Lifecycle` and `https://developer.android.com/reference/android/view/View.html#isAttachedToWindow()`-aware `https://developer.android.com/reference/kotlin/androidx/compose/runtime/Recomposer` for this `https://developer.android.com/reference/android/view/View.html` with the same behavior as `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/WindowRecomposerFactory#LifecycleAware()`.

`https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/package-summary#(android.view.View).createLifecycleAwareWindowRecomposer(kotlin.coroutines.CoroutineContext,androidx.lifecycle.Lifecycle)` will override any `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.coroutines/-coroutine-context/index.html` elements from the default configuration normally used for this content view. The default `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.coroutines/-coroutine-context/index.html` contains `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/AndroidUiDispatcher#CurrentThread()`; this function should only be called from the UI thread of this `https://developer.android.com/reference/android/view/View.html` or its intended UI thread if it is currently detached.

If `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/package-summary#(android.view.View).createLifecycleAwareWindowRecomposer(kotlin.coroutines.CoroutineContext,androidx.lifecycle.Lifecycle)` is `null` or not supplied the `https://developer.android.com/reference/kotlin/androidx/lifecycle/LifecycleOwner` returned by `https://developer.android.com/reference/kotlin/androidx/lifecycle/package-summary#(android.view.View).findViewTreeLifecycleOwner()` will be used; if a non-null `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/package-summary#(android.view.View).createLifecycleAwareWindowRecomposer(kotlin.coroutines.CoroutineContext,androidx.lifecycle.Lifecycle)` is not provided and a ViewTreeLifecycleOwner is not present an `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-state-exception/index.html` will be thrown.

The returned `https://developer.android.com/reference/kotlin/androidx/compose/runtime/Recomposer` will be `https://developer.android.com/reference/kotlin/androidx/compose/runtime/Recomposer#cancel()` when this `https://developer.android.com/reference/android/view/View.html` is detached from a window or if its determined `https://developer.android.com/reference/kotlin/androidx/lifecycle/Lifecycle` is `https://developer.android.com/reference/kotlin/androidx/lifecycle/Lifecycle.Event#ON_DESTROY`. Recomposition and associated `https://developer.android.com/reference/kotlin/androidx/compose/runtime/MonotonicFrameClock` effects may be throttled or paused while the `https://developer.android.com/reference/kotlin/androidx/lifecycle/Lifecycle` is not at least `https://developer.android.com/reference/kotlin/androidx/lifecycle/Lifecycle.State#STARTED`.

### ComposeView.Companion.disableWindowInsetsRulers

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

```
fun ComposeView.Companion.[disableWindowInsetsRulers](https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/package-summary#(androidx.compose.ui.platform.ComposeView.Companion).disableWindowInsetsRulers())(): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Use WindowInsetsRulers.disable(), use this instead:
>
> ```kotlin
> WindowInsetsRulers.disable()
> ```

Used to disable `https://developer.android.com/reference/kotlin/androidx/compose/ui/layout/WindowInsetsRulers`. This can be used when UI never reads WindowInsets across all ComposeViews to reduce the overhead of requesting WindowInsets updates. Only call this when no ComposeViews will ever need to handle insets over the lifetime of the application. This should be called before the first `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/ComposeView` is created.

### PlatformTextInputModifierNode.establishTextInputSession

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

```
suspend fun PlatformTextInputModifierNode.establishTextInputSession(
    block: suspend PlatformTextInputSessionScope.() -> Nothing
): Nothing
```

Starts a new text input session and suspends until the session is closed.

The `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/package-summary#(androidx.compose.ui.platform.PlatformTextInputModifierNode).establishTextInputSession(kotlin.coroutines.SuspendFunction1)` function must call `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/PlatformTextInputSession#startInputMethod(androidx.compose.ui.platform.PlatformTextInputMethodRequest)` to actually show and initiate the connection with the input method. If it does not, the session will end when this function returns without showing the input method.

If this function is called while another session is active, the sessions will not overlap. The new session will interrupt the old one, which will be cancelled and allowed to finish running any cancellation tasks (e.g. `finally` blocks) before running the new `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/package-summary#(androidx.compose.ui.platform.PlatformTextInputModifierNode).establishTextInputSession(kotlin.coroutines.SuspendFunction1)` function.

The session will be closed when:

- The session function throws an exception.

- The requesting coroutine is cancelled.

- Another session is started via this method, either from the same modifier or a different one. The session may remain open when:

- The system closes the connection. This behavior currently only exists on Android depending on OS version. Android platform may intermittently close the active connection to immediately start it back again. In these cases the session will not be prematurely closed, so that it can serve the follow-up requests.

This function should only be called from the modifier node's `https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier.Node#coroutineScope()`. If it is not, the session will *not* automatically be closed if the modifier is detached.

```kotlin
import androidx.compose.ui.Modifier
import androidx.compose.ui.focus.FocusEventModifierNode
import androidx.compose.ui.focus.FocusState
import androidx.compose.ui.platform.PlatformTextInputMethodRequest
import androidx.compose.ui.platform.PlatformTextInputModifierNode
import androidx.compose.ui.platform.PlatformTextInputSession
import androidx.compose.ui.platform.establishTextInputSession

class PlatformTextInputModifierNodeSample :
    Modifier.Node(), FocusEventModifierNode, PlatformTextInputModifierNode {

    private var focusedJob: Job? = null

    override fun onFocusEvent(focusState: FocusState) {
        focusedJob?.cancel()
        focusedJob =
            if (focusState.isFocused) {
                // establishTextInputSession is a suspend function, so it must be called from a
                // coroutine. Launching it into this modifier node's coroutine scope ensures the
                // session will automatically be torn down when the node is detached.
                coroutineScope.launch {
                    // This will automatically cancel any currently-active session.
                    establishTextInputSession {
                        launch {
                            // TODO: Observe text field state, call into system to update it as
                            //  required by the platform.
                        }

                        // Call out to a platform-specific expect/actual function to create the
                        // platform-specific request.
                        val request: PlatformTextInputMethodRequest = createInputRequest()
                        startInputMethod(request)
                    }
                }
            } else {
                null
            }
    }

    // This would probably be an expect/actual function.
    private fun PlatformTextInputSession.createInputRequest(): PlatformTextInputMethodRequest {
        TODO("Create platform-specific request")
    }
}
```

| Parameters |
|---|---|
| `block: suspend https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/PlatformTextInputSessionScope.() -> https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-nothing/index.html` | A suspend function that will be called when the session is started and that must call `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/PlatformTextInputSession#startInputMethod(androidx.compose.ui.platform.PlatformTextInputMethodRequest)` to actually show and initiate the connection with the input method. |

### View.findViewTreeComposeViewContext

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

```
fun View.findViewTreeComposeViewContext(): ComposeViewContext?
```

Returns the `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/ComposeViewContext` used in this View's part of the hierarchy, or `null` if one cannot be found or it doesn't match the values set for `https://developer.android.com/reference/kotlin/androidx/lifecycle/package-summary#(android.view.View).findViewTreeLifecycleOwner()` or `https://developer.android.com/reference/kotlin/androidx/savedstate/package-summary#(android.view.View).findViewTreeSavedStateRegistryOwner()`. For example, if there is a `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/ComposeView` set in the hierarchy, `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/package-summary#(android.view.View).findViewTreeComposeViewContext()` on a child of that View will normally return that `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/ComposeViewContext`. However, if the child is within a Fragment, its `https://developer.android.com/reference/kotlin/androidx/lifecycle/LifecycleOwner` differs from the `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/ComposeView`, so `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/package-summary#(android.view.View).findViewTreeComposeViewContext()` will return `null`.

This can be used with `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/AbstractComposeView#createComposition()` to compose without the `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/ComposeView` being attached:

```kotlin
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.ui.Modifier
import androidx.compose.ui.platform.ComposeView
import androidx.compose.ui.platform.ComposeViewContext
import androidx.compose.ui.platform.findViewTreeComposeViewContext

val composeView = ComposeView(attachedView.context)
composeView.setContent { Box(Modifier.fillMaxSize()) }
// If a ComposeViewContext hasn't been attached to the hierarchy, create a new one for this view
val composeViewContext =
    attachedView.findViewTreeComposeViewContext() ?: ComposeViewContext(attachedView)
// start composing while composeView isn't attached
composeView.createComposition(composeViewContext)
```

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/package-summary#(android.view.View).composeViewContext()` |   |

### View.findViewTreeCompositionContext

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

```
fun View.findViewTreeCompositionContext(): CompositionContext?
```

Returns the parent `https://developer.android.com/reference/kotlin/androidx/compose/runtime/CompositionContext` for this point in the view hierarchy, or `null` if none can be found.

See `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/package-summary#(android.view.View).compositionContext()` to get or set the parent `https://developer.android.com/reference/kotlin/androidx/compose/runtime/CompositionContext` for a specific view.

### ClipEntry.firstUriOrNull

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

```
@ExperimentalComposeUiApi
fun ClipEntry.firstUriOrNull(): Uri?
```

Returns the first non-null `https://developer.android.com/reference/android/net/Uri.html` from the list of `https://developer.android.com/reference/android/content/ClipData.Item.html`s in this `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/ClipEntry`.

ClipEntry can contain single or multiple `https://developer.android.com/reference/android/content/ClipData.Item.html`s. This function is useful when you are only interested in processing just a single `https://developer.android.com/reference/android/net/Uri.html` item inside the `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/ClipEntry`.

It's advised that you consider checking all the items inside `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/ClipEntry#clipData()` to thoroughly process a given `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/ClipEntry`.

### ClipData.toClipEntry

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

```
fun ClipData.toClipEntry(): ClipEntry
```

### ClipDescription.toClipMetadata

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

```
fun ClipDescription.toClipMetadata(): ClipMetadata
```

## Top-level properties

### DisableContentCapture

android Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/platform/AndroidComposeViewAccessibilityDelegateCompat.android.kt+symbol:DisableContentCapture)

```
@ExperimentalComposeUiApi
var DisableContentCapture: Boolean
```

> [!CAUTION]
> **This property is deprecated.**   
> Use ContentCapture.isEnabled instead, use this instead:
>
> ```kotlin
> !ContentCaptureManager.isEnabled
> ```

### LocalAccessibilityManager

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/platform/CompositionLocals.kt+symbol:LocalAccessibilityManager) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.0.0)

```
val LocalAccessibilityManager: ProvidableCompositionLocal<AccessibilityManager?>
```

The CompositionLocal to provide communication with platform accessibility service.

### LocalAutofill

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/platform/CompositionLocals.kt+symbol:LocalAutofill) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.0.0) Deprecated in [1.8.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.8.0)

```
val LocalAutofill: ProvidableCompositionLocal<Autofill?>
```

> [!CAUTION]
> **This property is deprecated.**   
> Use the new semantics-based Autofill APIs androidx.compose.ui.autofill.ContentType and androidx.compose.ui.autofill.ContentDataType instead.

The CompositionLocal that can be used to trigger autofill actions. Eg. `https://developer.android.com/reference/kotlin/androidx/compose/ui/autofill/Autofill#requestAutofillForNode(androidx.compose.ui.autofill.AutofillNode)`.

### LocalAutofillManager

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/platform/CompositionLocals.kt+symbol:LocalAutofillManager) Added in [1.8.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.8.0)

```
val LocalAutofillManager: ProvidableCompositionLocal<AutofillManager?>
```

The CompositionLocal that can be used to trigger autofill actions. Eg. `https://developer.android.com/reference/kotlin/androidx/compose/ui/autofill/AutofillManager#commit()`.

### LocalAutofillTree

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/platform/CompositionLocals.kt+symbol:LocalAutofillTree) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.0.0) Deprecated in [1.8.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.8.0)

```
val LocalAutofillTree: ProvidableCompositionLocal<AutofillTree>
```

> [!CAUTION]
> **This property is deprecated.**   
> Use the new semantics-based Autofill APIs androidx.compose.ui.autofill.ContentType and androidx.compose.ui.autofill.ContentDataType instead.

The CompositionLocal that can be used to add import
androidx.compose.ui.autofill.AutofillNodes to the autofill tree. The `https://developer.android.com/reference/kotlin/androidx/compose/ui/autofill/AutofillTree` is a temporary data structure that will be replaced by Autofill Semantics (b/138604305).

### LocalClipboard

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/platform/CompositionLocals.kt+symbol:LocalClipboard) Added in [1.8.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.8.0)

```
val LocalClipboard: ProvidableCompositionLocal<Clipboard>
```

The CompositionLocal to provide communication with platform clipboard service.

### LocalClipboardManager

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/platform/CompositionLocals.kt+symbol:LocalClipboardManager) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.0.0) Deprecated in [1.8.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.8.0)

```
val LocalClipboardManager: ProvidableCompositionLocal<ClipboardManager>
```

> [!CAUTION]
> **This property is deprecated.**   
> Use LocalClipboard instead which supports suspend functions, use this instead:
>
> ```kotlin
> LocalClipboard
> ```

The CompositionLocal to provide communication with platform clipboard service.

### LocalConfiguration

android Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/platform/AndroidCompositionLocals.android.kt+symbol:LocalConfiguration)

```
val LocalConfiguration: ProvidableCompositionLocal<Configuration>
```

The Android `https://developer.android.com/reference/android/content/res/Configuration.html`. The `https://developer.android.com/reference/android/content/res/Configuration.html` is useful for determining how to organize the UI.

### LocalContext

android Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/platform/AndroidCompositionLocals.android.kt+symbol:LocalContext)

```
val LocalContext: ProvidableCompositionLocal<Context>
```

Provides a `https://developer.android.com/reference/android/content/Context.html` that can be used by Android applications.

### LocalCursorBlinkEnabled

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/platform/CompositionLocals.kt+symbol:LocalCursorBlinkEnabled) Added in [1.8.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.8.0)

```
val LocalCursorBlinkEnabled: ProvidableCompositionLocal<Boolean>
```

Text cursor blinking

- *true* normal cursor behavior (interactive blink)

- *false* never blink (always on)

The default of *true* is the user-expected system behavior for Text editing.

Typically you should not set *false* outside of screenshot tests without also providing a `cursorBrush` to `BasicTextField` to implement a custom design

### LocalDensity

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/platform/CompositionLocals.kt+symbol:LocalDensity) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.0.0)

```
val LocalDensity: ProvidableCompositionLocal<Density>
```

Provides the `https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Density` to be used to transform between `https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp` and pixel units or `https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/TextUnit` and pixel units. This is typically used when a `https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp` is provided and it must be converted in the body of `https://developer.android.com/reference/kotlin/androidx/compose/ui/layout/Layout.composable#Layout(kotlin.Function0,androidx.compose.ui.Modifier,androidx.compose.ui.layout.MeasurePolicy)` or `https://developer.android.com/reference/kotlin/androidx/compose/ui/draw/DrawModifier`.

### LocalFocusManager

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/platform/CompositionLocals.kt+symbol:LocalFocusManager) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.0.0)

```
val LocalFocusManager: ProvidableCompositionLocal<FocusManager>
```

The CompositionLocal that can be used to control focus within Compose.

### LocalFontFamilyResolver

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/platform/CompositionLocals.kt+symbol:LocalFontFamilyResolver) Added in [1.2.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.2.0)

```
val LocalFontFamilyResolver: ProvidableCompositionLocal<FontFamily.Resolver>
```

The CompositionLocal for compose font resolution from FontFamily.

### LocalGraphicsContext

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/platform/CompositionLocals.kt+symbol:LocalGraphicsContext) Added in [1.7.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.7.0)

```
val LocalGraphicsContext: ProvidableCompositionLocal<GraphicsContext>
```

The CompositionLocal to provide access to a `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/GraphicsContext` instance for creation of `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/layer/GraphicsLayer`s.

Consumers that access this Local directly and call `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/GraphicsContext#createGraphicsLayer()` are responsible for calling `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/GraphicsContext#releaseGraphicsLayer(androidx.compose.ui.graphics.layer.GraphicsLayer)`.

It is recommended that consumers invoke import
androidx.compose.ui.graphics.rememberGraphicsLayer instead to ensure that a `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/layer/GraphicsLayer` is released when the corresponding composable is disposed.

### LocalHapticFeedback

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/platform/CompositionLocals.kt+symbol:LocalHapticFeedback) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.0.0)

```
val LocalHapticFeedback: ProvidableCompositionLocal<HapticFeedback>
```

The CompositionLocal to provide haptic feedback to the user.

### LocalInputModeManager

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/platform/CompositionLocals.kt+symbol:LocalInputModeManager) Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.1.0)

```
val LocalInputModeManager: ProvidableCompositionLocal<InputModeManager>
```

The CompositionLocal to provide an instance of InputModeManager which controls the current input mode.

### LocalInspectionMode

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/platform/InspectionMode.kt+symbol:LocalInspectionMode) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.0.0)

```
val LocalInspectionMode: ProvidableCompositionLocal<Boolean>
```

Inspectable mode CompositionLocal. True if the composition is composed inside a Inspectable component.

### LocalLayoutDirection

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/platform/CompositionLocals.kt+symbol:LocalLayoutDirection) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.0.0)

```
val LocalLayoutDirection: ProvidableCompositionLocal<LayoutDirection>
```

The CompositionLocal to provide the layout direction.

### LocalLifecycleOwner

Cmn android Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/platform/+symbol:LocalLifecycleOwner)

```
val LocalLifecycleOwner: ProvidableCompositionLocal<LifecycleOwner>
```

> [!CAUTION]
> **This property is deprecated.**   
> Moved to lifecycle-runtime-compose library in androidx.lifecycle.compose package, use this instead:
>
> ```kotlin
> androidx.lifecycle.compose.LocalLifecycleOwner
> ```

The CompositionLocal containing the current `https://developer.android.com/reference/kotlin/androidx/lifecycle/LifecycleOwner`.

### LocalLocale

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/platform/CompositionLocals.kt+symbol:LocalLocale) Added in [1.11.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.11.0)

```
val LocalLocale: CompositionLocal<Locale>
```

The CompositionLocal to provide the locale.

### LocalLocaleList

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/platform/CompositionLocals.kt+symbol:LocalLocaleList) Added in [1.11.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.11.0)

```
val LocalLocaleList: CompositionLocal<LocaleList>
```

The CompositionLocal to provide the locale list. This list will never be empty.

### LocalResources

android Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/platform/AndroidCompositionLocals.android.kt+symbol:LocalResources)

```
val LocalResources: ProvidableCompositionLocal<Resources>
```

The Android `https://developer.android.com/reference/android/content/res/Resources.html`. This will be updated when `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/package-summary#LocalConfiguration()` changes, to ensure that calls to APIs such as `https://developer.android.com/reference/android/content/res/Resources.html#getString(int)` return updated values.

### LocalSavedStateRegistryOwner

android Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/platform/AndroidCompositionLocals.android.kt+symbol:LocalSavedStateRegistryOwner)

```
val LocalSavedStateRegistryOwner: ProvidableCompositionLocal<SavedStateRegistryOwner>
```

> [!CAUTION]
> **This property is deprecated.**   
> Moved to savedstate-compose library in androidx.savedstate.compose package, use this instead:
>
> ```kotlin
> androidx.savedstate.compose.LocalSavedStateRegistryOwner
> ```

The CompositionLocal containing the current `https://developer.android.com/reference/kotlin/androidx/savedstate/SavedStateRegistryOwner`.

### LocalScrollCaptureInProgress

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/platform/CompositionLocals.kt+symbol:LocalScrollCaptureInProgress) Added in [1.7.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.7.0)

```
val LocalScrollCaptureInProgress: CompositionLocal<Boolean>
```

True when the system is currently capturing the contents of a scrollable in this compose view or any parent compose view.

### LocalSoftwareKeyboardController

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/platform/CompositionLocals.kt+symbol:LocalSoftwareKeyboardController) Added in [1.6.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.6.0)

```
val LocalSoftwareKeyboardController: ProvidableCompositionLocal<SoftwareKeyboardController?>
```

The `https://developer.android.com/reference/kotlin/androidx/compose/runtime/CompositionLocal` to provide a `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/SoftwareKeyboardController` that can control the current software keyboard.

Will be null if the software keyboard cannot be controlled.

### LocalSoundEffect

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/platform/CompositionLocals.kt+symbol:LocalSoundEffect) Added in [1.12.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.12.0)

```
val LocalSoundEffect: ProvidableCompositionLocal<SoundEffect>
```

The CompositionLocal to provide platform sound effects.

This is used to trigger sounds on user interaction, like clicks. To enable, disable, or customize sound interaction scopes, utilize `SoundEffectOnInteraction`.

```kotlin
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.padding
import androidx.compose.material3.Button
import androidx.compose.material3.Text
import androidx.compose.ui.Modifier
import androidx.compose.ui.platform.SoundEffectOnInteraction
import androidx.compose.ui.unit.dp

Column(modifier = Modifier.padding(16.dp)) {
    Text("Standard Clickable (Has Sound):")
    Button(onClick = {}) { Text("Click me") }

    Text("\nDisabled Sound Feedback:")
    SoundEffectOnInteraction(enabled = false) { Button(onClick = {}) { Text("Silent Button") } }
}
```

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/SoundEffect` |   |

### LocalTaskDispatchers

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/platform/CompositionLocals.kt+symbol:LocalTaskDispatchers) Added in [1.13.0-rc01](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.13.0-rc01)

```
val LocalTaskDispatchers: ProvidableCompositionLocal<TaskDispatchers>
```

The CompositionLocal to provide `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/TaskDispatchers` for running coroutines and asynchronous tasks inside a Compose UI hierarchy.

```kotlin
import androidx.compose.material3.Text
import androidx.compose.runtime.LaunchedEffect
import androidx.compose.ui.platform.LocalTaskDispatchers

val taskDispatchers = LocalTaskDispatchers.current
LaunchedEffect(taskDispatchers) {
    withContext(taskDispatchers.IO) {
        // Perform background I/O operations using the provided IO context
    }
}
Text("TaskDispatchers Sample")
```

### LocalTextInputService

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/platform/CompositionLocals.kt+symbol:LocalTextInputService) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.0.0) Deprecated in [1.7.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.7.0)

```
val LocalTextInputService: ProvidableCompositionLocal<TextInputService?>
```

> [!CAUTION]
> **This property is deprecated.**   
> Use PlatformTextInputModifierNode instead.

The CompositionLocal to provide communication with platform text input service.

### LocalTextToolbar

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/platform/CompositionLocals.kt+symbol:LocalTextToolbar) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.0.0)

```
val LocalTextToolbar: ProvidableCompositionLocal<TextToolbar>
```

The CompositionLocal to provide text-related toolbar.

### LocalUriHandler

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/platform/CompositionLocals.kt+symbol:LocalUriHandler) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.0.0)

```
val LocalUriHandler: ProvidableCompositionLocal<UriHandler>
```

The CompositionLocal to provide functionality related to URL, e.g. open URI.

### LocalView

android Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/platform/AndroidCompositionLocals.android.kt+symbol:LocalView)

```
val LocalView: ProvidableCompositionLocal<View>
```

The CompositionLocal containing the current Compose `https://developer.android.com/reference/android/view/View.html`.

### LocalViewConfiguration

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/platform/CompositionLocals.kt+symbol:LocalViewConfiguration) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.0.0)

```
val LocalViewConfiguration: ProvidableCompositionLocal<ViewConfiguration>
```

The CompositionLocal that provides the ViewConfiguration.

### LocalWindow

android Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/platform/AndroidCompositionLocals.android.kt+symbol:LocalWindow)

```
val LocalWindow: ProvidableCompositionLocal<Window?>
```

The CompositionLocal containing the current `https://developer.android.com/reference/android/view/Window.html` if available.

### LocalWindowInfo

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/platform/CompositionLocals.kt+symbol:LocalWindowInfo) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.0.0)

```
val LocalWindowInfo: ProvidableCompositionLocal<WindowInfo>
```

The CompositionLocal that provides information about the window that hosts the current `https://developer.android.com/reference/kotlin/androidx/compose/ui/node/Owner`.

### NoInspectorInfo

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/platform/InspectableValue.kt+symbol:NoInspectorInfo) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.0.0)

```
val NoInspectorInfo: InspectorInfo.() -> Unit
```

An empty `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/InspectorInfo` DSL.

### isDebugInspectorInfoEnabled

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/platform/InspectableValue.kt+symbol:isDebugInspectorInfoEnabled) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.0.0)

```
var isDebugInspectorInfoEnabled: Boolean
```

Turn on inspector debug information. Used internally during inspection.

## Extension properties

### View.compositionContext

android Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/platform/WindowRecomposer.android.kt+symbol:compositionContext)

```
var View.compositionContext: CompositionContext?
```

The `https://developer.android.com/reference/kotlin/androidx/compose/runtime/CompositionContext` that should be used as a parent for compositions at or below this view in the hierarchy. Set to non-`null` to provide a `https://developer.android.com/reference/kotlin/androidx/compose/runtime/CompositionContext` for compositions created by child views, or `null` to fall back to any `https://developer.android.com/reference/kotlin/androidx/compose/runtime/CompositionContext` provided by ancestor views.

See `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/package-summary#(android.view.View).findViewTreeCompositionContext()`.

### WindowInfo.isCrossWindowBlurEnabled

android Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/platform/AndroidWindowInfo.android.kt+symbol:isCrossWindowBlurEnabled)

```
val WindowInfo.isCrossWindowBlurEnabled: Boolean
```

Whether cross-window blur is currently enabled by the system.

Cross-window blur might not be supported by some devices due to GPU limitations. It can also be disabled at runtime (e.g., during battery saving mode, when multimedia tunneling is used, or when minimal post-processing is requested). In these situations, no blur is computed or drawn. Apps should check this flag to fall back to alternative styling (such as adjusting scrim opacity or changing themes) when blurs are disabled.

This affects both window blur behind (see `https://developer.android.com/reference/android/view/WindowManager.LayoutParams.html#setBlurBehindRadius(int)`) and window background blur (see `https://developer.android.com/reference/android/view/Window.html#setBackgroundBlurRadius(int)`).

On Android, this property queries `https://developer.android.com/reference/android/view/WindowManager.html#isCrossWindowBlurEnabled()` on API 31+; on older API levels it always returns `false`.

### Clipboard.nativeClipboardManager

android Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/platform/AndroidClipboard.android.kt+symbol:nativeClipboardManager)

```
val Clipboard.nativeClipboardManager: ClipboardManager
```

Returns an `https://developer.android.com/reference/android/content/ClipboardManager.html` that exposes the full functionality of platform clipboard.