{% setvar book_path %}/reference/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}

androidx.compose.ui.platform

Interfaces

AccessibilityManager

Interface for managing accessibility.

ClipboardManager

Interface for managing the Clipboard.

InfiniteAnimationPolicy

Provides a policy that will be applied to animations that get their frame time from withInfiniteAnimationFrameNanos or withInfiniteAnimationFrameMillis This can be used to intervene in infinite animations to make them finite, for example by cancelling such coroutines.

InspectableValue

A compose value that is inspectable by tools.

SoftwareKeyboardController

Provide software keyboard control.

TextToolbar

Interface for text-related toolbar.

UriHandler

An interface of providing platform specific URL handling.

ViewCompositionStrategy

A strategy for managing the underlying Composition of Compose UI Views such as ComposeView and AbstractComposeView.

ViewConfiguration

Contains methods to standard constants used in the UI for timeouts, sizes, and distances.

ViewRootForInspector

The marker interface to be implemented by Views that are initialized from Compose.

ViewRootForTest

The marker interface to be implemented by the View backing the composition.

WindowInfo

Provides information about the Window that is hosting this compose hierarchy.

WindowRecomposerFactory

A factory for creating an Android window-scoped Recomposer.

Classes

AbstractComposeView

Base class for custom android.view.Views implemented using Jetpack Compose UI.

AndroidCompositionLocalsKt
AndroidUiDispatcher

A CoroutineDispatcher that will perform dispatch during a handler callback or choreographer's animation frame stage, whichever comes first.

AndroidUiFrameClock
AndroidUriHandler
AndroidViewConfiguration
AtomicInt
ComposeView

A android.view.View that can host Jetpack Compose UI content.

CompositionLocalsKt
InspectableModifier

Annotates a range of modifiers in a chain with inspector metadata.

InspectableModifier.End
InspectableValueKt
InspectionModeKt
InspectorInfo

A builder for an InspectableValue.

InspectorValueInfo

Implementation of InspectableValue based on a builder InspectorInfo DSL.

NestedScrollInteropConnectionKt
TestTagKt
ValueElement

A ValueElement describes an element of a compose value instance.

ValueElementSequence

A builder for a sequence of ValueElement.

ViewCompositionStrategy.DisposeOnLifecycleDestroyed

ViewCompositionStrategy that disposes the composition when lifecycle is destroyed.

WindowRecomposerKt
AndroidUiDispatcher.Companion
InfiniteAnimationPolicy.Key
LocalSoftwareKeyboardController
ViewCompositionStrategy.Companion

This companion object may be used to define extension factory functions for other strategies to aid in discovery via autocomplete. e.g.: fun ViewCompositionStrategy.Companion.MyStrategy(): MyStrategy

ViewCompositionStrategy.DisposeOnDetachedFromWindow

ViewCompositionStrategy that disposes the composition whenever the view becomes detached from a window.

ViewCompositionStrategy.DisposeOnDetachedFromWindowOrReleasedFromPool

The composition will be disposed automatically when the view is detached from a window, unless it is part of a pooling container, such as RecyclerView.

ViewCompositionStrategy.DisposeOnViewTreeLifecycleDestroyed

ViewCompositionStrategy that disposes the composition when the LifecycleOwner returned by findViewTreeLifecycleOwner of the next window the view is attached to is destroyed.

ViewRootForTest.Companion
WindowRecomposerFactory.Companion
WindowRecomposerPolicy

Enums

TextToolbarStatus

Status of the TextToolbar.