Skip to main content

Crate cranpose

Crate cranpose 

Source
Expand description

High level utilities for running Cranpose applications with minimal boilerplate.

Re-exports§

pub use cranpose_liquid as liquid;

Modules§

_docs
Guides for using Cranpose, compiled with the crate so they cannot drift from it. Built only for documentation, so they cost a reader nothing at runtime. Guides for using Cranpose.
app_info
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. How the platform packaged this app: the version a user is shown, and the build version a store orders releases by.
app_update
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Typed application update discovery, verification, and platform installation.
async_io
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Waking a future from another thread.
audio
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Sound effects and music — the audio analogue of haptics.
background
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Background execution: ask the OS to keep running briefly after the app is backgrounded, so in-flight work (e.g. draining a recognition queue) can finish instead of being suspended immediately.
bring_into_view
Re-export the UI crate so applications can depend on a single crate. Bring-a-focused-field’s-caret-into-view above the soft keyboard.
bundled_assets
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Read-only assets packaged with the application.
camera
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. The live camera: what it is doing, the frames it is producing, and the stills it takes.
clipboard_session
Re-export the UI crate so applications can depend on a single crate. Platform clipboard session: an OS clipboard read/write bridge for in-tree UI.
content
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Streaming content: the single shape every byte source hands the application.
density
Re-export the UI crate so applications can depend on a single crate. Integral layout, the way Compose does it.
desktop
Desktop runtime for Compose applications.
device_info
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. What the device has, and what this process is using of it.
draggable
Re-export the UI crate so applications can depend on a single crate. General drag state, for controls that are dragged but do not scroll.
file_picker
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Native, cross-platform file, folder and document choosers.
fling_animation
Re-export the UI crate so applications can depend on a single crate. Fling animation driver for scroll containers.
font_scale
Re-export the UI crate so applications can depend on a single crate. The system font-size setting, as the curve it is and not the multiplier it looks like.
github_release_updater
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. A portable AppUpdater that discovers a newer release from a GitHub repository’s release feed.
haptics
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Haptic feedback — the framework analogue of Jetpack’s LocalHapticFeedback.
host
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Framework-owned application-host state and controls.
host_surface
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. The surface the host gives the application, and what the application may ask of it.
http
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate.
image_picker
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Photo/image picker: choose a single image from the user’s photo library.
incoming_share
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Content another application shares into this one.
launch_args
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Launch arguments — the typed parameters the app was started with.
launcher
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Composition-owned launchers for the system choosers.
layout
Re-export the UI crate so applications can depend on a single crate.
layout_direction
Re-export the UI crate so applications can depend on a single crate. Which way the interface reads.
lazy_item
Re-export the UI crate so applications can depend on a single crate. The identity of the lazy-list item currently being composed.
media
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Media playback: one item at a time, observable rather than polled.
memory_pressure
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Memory pressure the platform reports for this process.
modal
Re-export the UI crate so applications can depend on a single crate. The stack of modal surfaces that are open right now.
navigation
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. System “back” navigation requests.
network_status
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Network status (connectivity + whether the connection is metered). Apps use it to defer or confirm large transfers on cellular/metered links.
nine_patch
Re-export the UI crate so applications can depend on a single crate. Filling a box with an image that is bigger, or smaller, than the box.
notifier
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Local notifications: ask permission and post user-visible notifications.
peer
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Local-network peer streaming for Cranpose apps.
power
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Device power and thermal state: observable, capability-aware, and explicit about what this platform cannot answer.
preferences
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Small durable key/value storage, and the composition state built on it.
prelude
Convenience imports for Cranpose applications.
purchases
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. In-app purchases: products, prices and owned entitlements.
recorder
Input event recorder for generating robot tests from manual interactions.
round_scaling_list
Re-export the UI crate so applications can depend on a single crate. Placing list rows the way a round watch scales them.
round_scroll_indicator
Re-export the UI crate so applications can depend on a single crate. The curved scroll indicator a round watch puts at 3 o’clock.
safe_area
Re-export the UI crate so applications can depend on a single crate. Platform safe-area insets exposed to composition.
scroll
Re-export the UI crate so applications can depend on a single crate. Scroll state and node implementation for cranpose.
scrollbar
Re-export the UI crate so applications can depend on a single crate. Where a scrollbar’s thumb sits and how long it is.
share_sheet
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. System share sheet: hand a file (and optional text) to the OS share UI so the user can send it to another app.
text
Re-export the UI crate so applications can depend on a single crate.
text_field_focus
Re-export the UI crate so applications can depend on a single crate. Focus manager for text fields.
text_input_session
Re-export the UI crate so applications can depend on a single crate. Platform text-input session: soft-keyboard visibility hooks.
text_layout_result
Re-export the UI crate so applications can depend on a single crate. Text layout result with cached glyph positions.
text_selection
Re-export the UI crate so applications can depend on a single crate. Native-grade text selection primitives for BasicTextField.
theme
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate.
uri_handler
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate.
widgets
Re-export the UI crate so applications can depend on a single crate. UI Widget components
writable_folder
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Cross-platform access to a user-chosen writable folder.
zoom
Re-export the UI crate so applications can depend on a single crate. Pinch-to-zoom / pan state and the Modifier::zoomable gesture modifier.

Macros§

android_main
Declares this crate’s Android entry point.
rememberScrollState
Re-export the UI crate so applications can depend on a single crate. Creates a remembered ScrollState.

Structs§

Alignment
Re-export the UI crate so applications can depend on a single crate. Alignment across both axes used for positioning content within a box.
AlphaElement
Re-export the UI crate so applications can depend on a single crate. Element that creates and updates alpha nodes.
AlphaNode
Re-export the UI crate so applications can depend on a single crate. Node that applies alpha transparency to its content.
AndroidOverlayWindowOptions
Android floating overlay window configuration.
AppLauncher
Platform-agnostic application launcher.
AppSettings
Configuration for application settings.
AppUpdateCapabilities
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. What an update backend can do on this platform.
AppUpdateObserver
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Registration returned by observe_app_update_status.
AudioClip
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Decoded PCM held in memory, ready to play with no further work.
BackRequestObserver
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. A back observer installed by observe_back_requests.
BackgroundElement
Re-export the UI crate so applications can depend on a single crate. Element that creates and updates background nodes.
BackgroundNode
Re-export the UI crate so applications can depend on a single crate. Node that draws a background behind its content.
BackgroundWorkLease
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. A claim that important work needs the host’s background execution allowance. The allowance remains active until every outstanding lease is dropped.
BasicTextFieldDecorationScope
Re-export the UI crate so applications can depend on a single crate. Scope passed to a basic text field decoration box.
BasicTextFieldOptions
Re-export the UI crate so applications can depend on a single crate. Options for customizing BasicTextField appearance and behavior.
BatteryStatus
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Current battery level and charging state.
BlurredEdgeTreatment
Re-export the UI crate so applications can depend on a single crate. Controls blur behavior outside source bounds.
BoxSpec
Re-export the UI crate so applications can depend on a single crate. Specification for Box layout behavior.
BoxWithConstraintsScopeImpl
Re-export the UI crate so applications can depend on a single crate. Concrete implementation of BoxWithConstraintsScope.
BringIntoViewResponder
Re-export the UI crate so applications can depend on a single crate. A scroll container’s ability to scroll a target window rect into view.
BundledAssetEntry
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. One bundle-relative file in a declarative asset installation.
BundledAssetInstallSpec
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. A versioned set copied from the application bundle into writable storage.
ButtonSpec
Re-export the UI crate so applications can depend on a single crate.
BytesBody
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. A body already in memory, handed out in CHUNK_LEN-sized pieces.
BytesContent
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Content already held in memory: clipboard drops, web File payloads, tests.
BytesSource
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. In-memory ByteSource backed by a byte buffer. Handy for small payloads and tests.
CameraFrame
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. One frame from the viewfinder.
CameraLens
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. One capture device the application may pick.
CameraLenses
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. The devices the application may pick between, and the one in use.
CameraObserver
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Keeps a camera observer registered until it is dropped.
CameraStill
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. A full-resolution still photograph as an encoded image.
CanvasSemanticsNode
Re-export the UI crate so applications can depend on a single crate. A semantics node for content that is drawn rather than laid out.
ChunkChannel
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. The producing half of a chunked byte stream.
ChunkNext
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. The future ChunkStream::next returns.
ChunkStream
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. The consuming half of a chunked byte stream.
ClickableElement
Re-export the UI crate so applications can depend on a single crate. Element that creates and updates clickable nodes.
ClickableNode
Re-export the UI crate so applications can depend on a single crate.
Color
Re-export the UI crate so applications can depend on a single crate.
ColumnSpec
Re-export the UI crate so applications can depend on a single crate. Specification for Column layout behavior.
Composition
Re-export the UI crate so applications can depend on a single crate.
Constraints
Re-export the UI crate so applications can depend on a single crate. Constraints used during layout measurement.
ContentChannel
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. The producing half of a ContentStream fed by a platform callback.
ContentMetadata
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Everything a provider can state about a piece of content without reading it.
CornerRadii
Re-export the UI crate so applications can depend on a single crate.
CornerShapeElement
Re-export the UI crate so applications can depend on a single crate. Element that creates and updates corner shape nodes.
CornerShapeNode
Re-export the UI crate so applications can depend on a single crate. Node that tracks the latest rounded corner shape.
CoroutineScope
Core runtime helpers commonly used by applications. A cancellation scope for work launched outside the composition pass.
Density
Re-export the UI crate so applications can depend on a single crate. The device pixel grid a layout measures against: how many device pixels a layout point is worth, and how the platform converts a text size.
DensityMeasureScope
Re-export the UI crate so applications can depend on a single crate. The production cranpose_ui_layout::MeasureScope: a grid captured at composition time, carried through measurement.
DevOptions
Development frame pacing and FPS statistics types. Development options for debugging and performance monitoring.
DigestVerifier
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Checks a package as it is read, so a package too large to hold in memory is still checked.
DisposableEffectResult
Core runtime helpers commonly used by applications.
DisposableEffectScope
Core runtime helpers commonly used by applications.
Dp
Re-export the UI crate so applications can depend on a single crate. Density-independent pixels: a layout length that reads the same on every device regardless of its pixel density.
DpOffset
Re-export the UI crate so applications can depend on a single crate. Density-independent offset for shadows.
DraggableState
Re-export the UI crate so applications can depend on a single crate. Drag position and progress for one control.
DrawCacheBuilder
Re-export the UI crate so applications can depend on a single crate.
DurableSaveRegistration
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Keeps a durable save registered until it is dropped.
EdgeInsets
Re-export the UI crate so applications can depend on a single crate. Padding values for each edge of a rectangle.
EnterTransition
Re-export the UI crate so applications can depend on a single crate. Defines how an AnimatedVisibility content appears.
EqualizerBand
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. One frequency band of a backend’s equalizer.
EqualizerSettings
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. What an equalizer is set to.
ExitTransition
Re-export the UI crate so applications can depend on a single crate. Defines how an AnimatedVisibility content disappears.
FetchResult
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Result of a fetch_range call.
FileContent
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. A file on the local filesystem.
FileFilter
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. A named filter limiting the file types a chooser offers.
FileFolder
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. A directory on the local filesystem.
FilePickerOptions
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Options controlling a chooser request.
FilePreferences
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. The framework’s file-backed store: one line per entry, key=value with the value percent-escaped so newlines and equals signs round-trip.
FileSink
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. A file being written through a temporary sibling, renamed on ContentSink::finish so a partial write never replaces a good file.
FillElement
Re-export the UI crate so applications can depend on a single crate. Element that creates and updates fill nodes.
FillNode
Re-export the UI crate so applications can depend on a single crate. Node that fills the maximum available space in one or both dimensions.
FocusRequester
Re-export the UI crate so applications can depend on a single crate. A handle an app holds to move focus onto a node imperatively.
FolderEntry
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Display metadata for one file in a writable folder.
FontScaleCurve
Re-export the UI crate so applications can depend on a single crate. The sp → dp conversion the platform performs, sampled from the platform.
FpsStats
Development frame pacing and FPS statistics types. Frame statistics snapshot.
FractionalOffsetElement
Re-export the UI crate so applications can depend on a single crate. Element that creates and updates fractional offset nodes.
FractionalOffsetNode
Re-export the UI crate so applications can depend on a single crate. Node that offsets its content by a fraction of its own measured size.
GitHubAppUpdater
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Discovers releases through a repository’s public GitHub release feed.
GitHubReleaseUpdate
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. A GitHub release feed used to discover an application package.
GlassMaterial
Re-export the UI crate so applications can depend on a single crate. Visual parameters for Modifier::glass_material.
GraphicsLayer
Re-export the UI crate so applications can depend on a single crate.
HapticPattern
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. A vibration waveform: alternating durations with a target amplitude each.
HeadlessRenderer
Re-export the UI crate so applications can depend on a single crate. A lightweight renderer that walks the layout tree and materialises paint commands.
HostSurfaceObserver
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Keeps a host-surface observer registered until it is dropped.
HostSurfaceSize
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. The size of the host surface, in logical pixels, with the scale the host renders it at.
HttpControl
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Cancellation and progress shared with an in-flight request.
HttpProgress
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. How much of a transfer has arrived.
HttpRequest
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. One request.
HttpResponse
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. What a server answered, with its body still to be read.
ImageBitmap
Re-export the UI crate so applications can depend on a single crate. Immutable RGBA image data used by UI primitives and render backends.
ImeEditorState
Re-export the UI crate so applications can depend on a single crate. Snapshot of the focused text field’s editable state for platform IMEs.
IncomingContent
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. One item shared into the application.
IncomingContentObserver
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Keeps an observer registered until it is dropped.
KeyEvent
Re-export the UI crate so applications can depend on a single crate. A keyboard input event.
LaunchArgs
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. The launch arguments the app was started with.
LaunchedEffectScope
Core runtime helpers commonly used by applications.
LayoutAllocationDebugStats
Re-export the UI crate so applications can depend on a single crate.
LayoutBox
Re-export the UI crate so applications can depend on a single crate. Layout information for a single node.
LayoutMeasurements
Re-export the UI crate so applications can depend on a single crate. Result of running the measure pass for a Compose layout tree.
LayoutNode
Re-export the UI crate so applications can depend on a single crate.
LayoutNodeData
Re-export the UI crate so applications can depend on a single crate. Snapshot of the data required to render a layout node.
LayoutTree
Re-export the UI crate so applications can depend on a single crate. Result of running layout for a Compose tree.
LazyColumnSpec
Re-export the UI crate so applications can depend on a single crate. Specification for LazyColumn layout behavior.
LazyItems
Re-export the UI crate so applications can depend on a single crate. A run of lazy items: how many, and optionally how they are identified and reused.
LazyListItemInfo
Re-export the UI crate so applications can depend on a single crate. Information about a single visible item in a lazy list.
LazyListLayoutInfo
Re-export the UI crate so applications can depend on a single crate. Information about the currently visible items in a lazy list.
LazyListState
Re-export the UI crate so applications can depend on a single crate. State object for lazy list scroll position tracking.
LazyRowSpec
Re-export the UI crate so applications can depend on a single crate. Specification for LazyRow layout behavior.
LifecycleEvent
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. A lifecycle transition delivered by the platform host.
LifecycleObserver
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. RAII lifecycle observer registration.
MeasureLayoutOptions
Re-export the UI crate so applications can depend on a single crate.
MeasureResult
Re-export the UI crate so applications can depend on a single crate. Result of a measurement operation.
MediaArtwork
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Artwork for the platform media session.
MediaCapabilities
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. What a platform media stack can actually do.
MediaItem
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. One playable item.
MediaMetadata
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. What the platform media session shows: the lock screen, the notification, the car head unit.
MediaObserver
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Keeps a media observer registered until it is dropped.
MediaSamples
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Samples as they are being heard, for a visualiser.
MediaSourceHandle
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. A media stream the platform opened, and what it knows about it.
MemoryPreferences
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. An in-memory store. The web default until a platform backend registers, and what tests use.
MemoryPressureObserver
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Keeps an observer registered until it is dropped.
ModalRegistration
Re-export the UI crate so applications can depend on a single crate. Keeps a modal surface on the stack until it is dropped.
Modifier
Re-export the UI crate so applications can depend on a single crate. A modifier chain that can be applied to composable elements.
ModifierChainTraceGuard
Re-export the UI crate so applications can depend on a single crate. RAII guard returned when installing a modifier chain trace subscriber.
ModifierLocalKey
Re-export the UI crate so applications can depend on a single crate. Type-safe key referencing a modifier local value.
ModifierLocalReadScope
Re-export the UI crate so applications can depend on a single crate. Lightweight read scope surfaced to modifier local consumers.
ModifierNodeSlices
Re-export the UI crate so applications can depend on a single crate. Snapshot of modifier node slices that impact draw and pointer subsystems.
ModifierNodeSlicesDebugStats
Re-export the UI crate so applications can depend on a single crate.
Modifiers
Re-export the UI crate so applications can depend on a single crate. Keyboard modifier keys held during an input sample.
MutableInteractionSource
Re-export the UI crate so applications can depend on a single crate.
MutableState
Core runtime helpers commonly used by applications. Cheap copyable mutable view of a state cell.
NetworkStatus
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. A snapshot of the current network state.
NinePatchInsets
Re-export the UI crate so applications can depend on a single crate. How far in from each edge of a source image the stretchable middle starts.
NodeCapabilities
Re-export the UI crate so applications can depend on a single crate. Capability flags indicating which specialized traits a modifier node implements.
NodeState
Re-export the UI crate so applications can depend on a single crate. Runtime state tracked for every ModifierNode.
NoopAudioPlayer
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. The player used when no backend is installed.
NotifyRequest
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. A local notification to post.
OffsetElement
Re-export the UI crate so applications can depend on a single crate. Element that creates and updates offset nodes.
OffsetNode
Re-export the UI crate so applications can depend on a single crate. Node that offsets its content by a fixed (x, y) amount.
OpenFileLauncher
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Presents the single-file chooser and hands the picked content back.
OpenFilesLauncher
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Presents the multi-file chooser and hands every picked item back.
OpenFolderLauncher
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Presents the folder chooser and hands the granted folder back.
PackageDigest
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. The digest a downloaded package must match.
PaddingElement
Re-export the UI crate so applications can depend on a single crate. Element that creates and updates padding nodes.
PaddingNode
Re-export the UI crate so applications can depend on a single crate. Node that adds padding around its content.
Painter
Re-export the UI crate so applications can depend on a single crate.
ParagraphStyle
Re-export the UI crate so applications can depend on a single crate.
PatchQuad
Re-export the UI crate so applications can depend on a single crate. One image draw: the part of the source to read and the part of the destination to fill.
PeerServer
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. A running peer server. Dropping it stops accepting new connections.
Placeable
Re-export the UI crate so applications can depend on a single crate. Result of running a measurement pass for a single child.
Placement
Re-export the UI crate so applications can depend on a single crate. Placement information for a measured child.
PlatformDirectories
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Platform directory roots for application-owned files.
PlatformParagraphStyle
Re-export the UI crate so applications can depend on a single crate.
PlatformSpanStyle
Re-export the UI crate so applications can depend on a single crate.
PlatformTextStyle
Re-export the UI crate so applications can depend on a single crate.
PlaybackParams
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. How one voice should sound.
PlaybackProgress
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Where the open item is.
Point
Re-export the UI crate so applications can depend on a single crate.
PointerEvent
Re-export the UI crate so applications can depend on a single crate. Pointer event with consumption tracking for gesture disambiguation.
PointerInputScope
Re-export the UI crate so applications can depend on a single crate.
PowerCapabilities
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. What a power backend can answer on this platform.
PowerObserverRegistration
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Keeps a power observer registered until it is dropped.
PowerState
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Everything the platform currently says about power.
PreparedTextLayout
Re-export the UI crate so applications can depend on a single crate.
PressInteractionCancel
Re-export the UI crate so applications can depend on a single crate.
PressInteractionPress
Re-export the UI crate so applications can depend on a single crate.
PressInteractionRelease
Re-export the UI crate so applications can depend on a single crate.
Product
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. A product as the store describes it, in the user’s locale and currency.
ReadyFolder
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. A folder whose children are already known.
RecordedRenderScene
Re-export the UI crate so applications can depend on a single crate. A collection of render operations for a composed scene.
Rect
Re-export the UI crate so applications can depend on a single crate.
ResolvedBackground
Re-export the UI crate so applications can depend on a single crate.
ResolvedModifiers
Re-export the UI crate so applications can depend on a single crate.
RotaryInputModifierNode
Re-export the UI crate so applications can depend on a single crate. Modifier node that forwards rotary scroll events to an app handler.
RotaryScrollEvent
Re-export the UI crate so applications can depend on a single crate. A rotary scroll event produced by a Wear OS crown or rotating bezel.
RoundedCornerShape
Re-export the UI crate so applications can depend on a single crate.
RowSpec
Re-export the UI crate so applications can depend on a single crate. Specification for Row layout behavior.
RuntimeShader
Re-export the UI crate so applications can depend on a single crate. A custom WGSL shader effect, analogous to Android’s RuntimeShader.
SaveDocumentLauncher
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Presents the save-document chooser and hands the opened sink back.
SaveDocumentRequest
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. A request for a user-named destination to stream a document into.
Saver
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Converts a value to and from the string form preferences store.
ScrollElement
Re-export the UI crate so applications can depend on a single crate. Element for creating a ScrollNode.
ScrollMetrics
Re-export the UI crate so applications can depend on a single crate. A scroll position and the extents it is measured against, read together.
ScrollNode
Re-export the UI crate so applications can depend on a single crate. ScrollNode layout modifier that physically moves content based on scroll position. This is the component that actually reads ScrollState and applies the visual offset.
ScrollState
Re-export the UI crate so applications can depend on a single crate. State object for scroll position tracking.
SemanticsCallback
Re-export the UI crate so applications can depend on a single crate. Discrete event callback reference produced during semantics extraction.
SemanticsConfiguration
Re-export the UI crate so applications can depend on a single crate. Semantics configuration for accessibility.
SemanticsCustomAction
Re-export the UI crate so applications can depend on a single crate. A screen-reader action that is not a click, e.g. Compose’s customActions = listOf(CustomAccessibilityAction("Pause") { … }).
SemanticsNode
Re-export the UI crate so applications can depend on a single crate. A single node within the semantics tree.
SemanticsRequester
Re-export the UI crate so applications can depend on a single crate. A handle an app holds to say that what its semantics recorder would report has changed.
SemanticsTree
Re-export the UI crate so applications can depend on a single crate. Rooted semantics tree extracted after layout.
Shadow
Re-export the UI crate so applications can depend on a single crate. Static shadow configuration.
ShadowScope
Re-export the UI crate so applications can depend on a single crate. Pixel-space shadow scope used by block-based APIs.
ShareContent
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. A single file to share, with an optional accompanying message/subject.
Signal
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. A one-value hand-off between a worker and a future.
SignalWait
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. The future Signal::wait returns.
Size
Re-export the UI crate so applications can depend on a single crate.
SizeElement
Re-export the UI crate so applications can depend on a single crate. Element that creates and updates size nodes.
SizeNode
Re-export the UI crate so applications can depend on a single crate. Node that enforces size constraints on its content.
SliderScope
Re-export the UI crate so applications can depend on a single crate. Values available to custom slider track and thumb content.
SliderSpec
Re-export the UI crate so applications can depend on a single crate. Input and geometry policy for a Slider.
SnapshotState
Re-export the UI crate so applications can depend on a single crate. Cheap copyable mutable view of a state cell.
SnapshotStateList
Core runtime helpers commonly used by applications.
SnapshotStateMap
Core runtime helpers commonly used by applications.
SoftwareTextFontRegistry
Font registration vocabulary named by AppLauncher’s font methods: the platform font directory AppLauncher::with_system_font_family wants, the weight set it registers, and the registry and error AppLauncher::with_fonts_from hands out. Parsed app-supplied faces, on their way to a SoftwareTextFontSet.
SoundBank
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. A set of cues loaded once and kept alive for as long as the composable that remembered it stays in the composition.
SoundBankEntry
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. A loaded cue inside a SoundBank.
SoundBankFailure
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. A cue that did not load, reported instead of silently vanishing.
SoundId
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Identifies a decoded clip held by the audio engine.
SoundSpec
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. One entry in a SoundBank: where the bytes come from and how the cue should sit in the mix before per-call parameters are applied.
SpanStyle
Re-export the UI crate so applications can depend on a single crate.
State
Core runtime helpers commonly used by applications. Cheap copyable read-only view of a state cell.
StoreObserver
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. A store observer installed by observe_store_news.
StoreState
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Snapshot of everything known about the store right now.
StreamingAssetReader
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. A BundledAssetReader over any byte stream.
StringAnnotation
Re-export the UI crate so applications can depend on a single crate. Mirrors Jetpack Compose’s AnnotatedString.Range<String> — a tag+value annotation covering a byte range.
StubHttpClient
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. An HTTP client that answers from a function rather than a network.
SubcomposeLayoutNode
Re-export the UI crate so applications can depend on a single crate. Node responsible for orchestrating measure-time subcomposition.
SubcomposeMeasureScopeImpl
Re-export the UI crate so applications can depend on a single crate. Concrete implementation of SubcomposeMeasureScope.
SvgPainter
Re-export the UI crate so applications can depend on a single crate. Parsed SVG image data that rasterizes on demand for the requested draw size.
SwipeDismissState
Re-export the UI crate so applications can depend on a single crate. A row’s swipe, as the application can see it.
SwipeToDismissSpec
Re-export the UI crate so applications can depend on a single crate. Configuration for SwipeToDismiss.
TestApplierGuard
Re-export the UI crate so applications can depend on a single crate.
TestComposition
Re-export the UI crate so applications can depend on a single crate. In-memory composition helper used by tests.
TextFieldBuffer
Re-export the UI crate so applications can depend on a single crate. A mutable text buffer that can be edited.
TextFieldElement
Re-export the UI crate so applications can depend on a single crate. Element that creates and updates TextFieldModifierNode instances.
TextFieldModifierNode
Re-export the UI crate so applications can depend on a single crate.
TextFieldState
Re-export the UI crate so applications can depend on a single crate. Observable state holder for text field content.
TextFieldValue
Re-export the UI crate so applications can depend on a single crate. Immutable snapshot of text field content.
TextLayoutOptions
Re-export the UI crate so applications can depend on a single crate. Text layout behavior options matching Compose BasicText controls.
TextLayoutResult
Re-export the UI crate so applications can depend on a single crate.
TextLinePrefixWidths
Re-export the UI crate so applications can depend on a single crate.
TextMetrics
Re-export the UI crate so applications can depend on a single crate.
TextModifierElement
Re-export the UI crate so applications can depend on a single crate. Element that creates and updates TextModifierNode instances.
TextModifierNode
Re-export the UI crate so applications can depend on a single crate. Node that stores text content and handles measurement, drawing, and semantics.
TextOptions
Re-export the UI crate so applications can depend on a single crate. High-level text widget options for constrained UI text.
TextRange
Re-export the UI crate so applications can depend on a single crate. Represents a range in text, used for cursor position and selection.
TextStyle
Re-export the UI crate so applications can depend on a single crate.
ThumbBounds
Re-export the UI crate so applications can depend on a single crate. How short and how long a thumb may get, as fractions of the track.
ThumbGeometry
Re-export the UI crate so applications can depend on a single crate. Thumb length and position, both as fractions of the track.
TransformOrigin
Re-export the UI crate so applications can depend on a single crate.
UpdatePackage
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. A package an update would install.
UprightRgba
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. A frame’s pixels as tightly packed RGBA8, already the right way up.
VoiceId
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Identifies one playing voice, so a looping cue can be stopped or retuned while it runs.
WindowAttachPolicy
Attachment and snapping policy for a declarative peer-window group.
WindowConfig
Declarative configuration for an operating-system window.
WindowId
A stable identifier for a declarative operating-system window.
WindowInsets
Re-export the UI crate so applications can depend on a single crate. Insets needed to keep content clear of system UI and the on-screen keyboard.
WindowState
Mutable position and size state for a declarative OS window.
WritableFolderLauncher
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Presents the persistent writable-folder chooser and hands the durable handle back. Store the handle and reopen it with crate::writable_folder::open_writable_folder.
ZoomState
Re-export the UI crate so applications can depend on a single crate. Shared zoom/pan transform state for Modifier::zoomable.

Enums§

AndroidGpuBackend
Graphics API used by the Android WGPU renderer.
AppUpdateError
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Failure to start an update operation.
AppUpdateStatus
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Observable state of the application update flow.
AudioBus
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. The two mix buses every app gets, so “sound on” and “music on” are one call each rather than bookkeeping over individual voices.
AudioError
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Why an audio call could not be honoured.
AudioFocus
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. What the rest of the device is doing with the output.
BlendMode
Re-export the UI crate so applications can depend on a single crate. Blend mode used for draw primitives.
Brush
Re-export the UI crate so applications can depend on a single crate.
BundledAssetError
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Error reading an asset from the application bundle.
BundledAssetInstallOutcome
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Result of installing a bundled asset set.
CameraError
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate.
CameraState
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. What the camera session is doing.
ColorFilter
Re-export the UI crate so applications can depend on a single crate. Simple image color filter model.
CompositingStrategy
Re-export the UI crate so applications can depend on a single crate.
ContentEntry
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. One child of a ContentFolder.
ContentError
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Errors produced while reading or writing content.
ContentScale
Re-export the UI crate so applications can depend on a single crate.
DigestAlgorithm
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. How a package’s bytes are checked against what the release promised.
DrawCommand
Re-export the UI crate so applications can depend on a single crate.
DurableSaveOutcome
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. What became of the durable saves the host asked for.
FilePickerError
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Errors produced while presenting a chooser.
FillDirection
Re-export the UI crate so applications can depend on a single crate. Direction for fill modifiers (horizontal, vertical, or both).
FlashMode
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. What the light does when a still is captured.
FocusDirection
Re-export the UI crate so applications can depend on a single crate. Focus direction for navigation.
FocusRequestError
Re-export the UI crate so applications can depend on a single crate. Why FocusRequester::request_focus could not move focus.
FolderError
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Errors produced by writable-folder I/O.
FontLoadError
Font registration vocabulary named by AppLauncher’s font methods: the platform font directory AppLauncher::with_system_font_family wants, the weight set it registers, and the registry and error AppLauncher::with_fonts_from hands out. Why an app-supplied face could not be registered.
FrameFormat
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. How a frame’s pixels are laid out.
FramePacingMode
Development frame pacing and FPS statistics types.
HapticEffect
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. A system-defined vibration primitive.
HapticError
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Why a haptic pattern could not be built.
HapticFeedback
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. A haptic feedback event.
HorizontalAlignment
Re-export the UI crate so applications can depend on a single crate. Alignment along the horizontal axis.
HttpError
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate.
HttpMethod
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. The verbs a request can use.
ImagePickerError
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate.
ImageSampling
Re-export the UI crate so applications can depend on a single crate. Texture sampling mode for image primitives.
ImageSource
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Where an image comes from.
IncomingSource
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Where the bytes of an incoming item live.
Interaction
Re-export the UI crate so applications can depend on a single crate.
IntrinsicSize
Re-export the UI crate so applications can depend on a single crate. Specifies how to size a component based on its intrinsic measurements.
KeyCode
Re-export the UI crate so applications can depend on a single crate. Physical key codes for keyboard input.
KeyEventType
Re-export the UI crate so applications can depend on a single crate. Type of keyboard event.
LaunchArgValue
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. One launch-argument value, in the type the platform delivered it.
LaunchError
Errors that can occur while launching a windowed (desktop or iOS) application.
LayerShape
Re-export the UI crate so applications can depend on a single crate.
LayoutDirection
Re-export the UI crate so applications can depend on a single crate. Which side of the interface is the start.
LayoutNodeKind
Re-export the UI crate so applications can depend on a single crate. Classification of the node captured inside a LayoutBox.
LensFacing
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Which way a capture device points.
LifecycleState
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Android-style lifecycle state exposed to composition observers.
LinearArrangement
Re-export the UI crate so applications can depend on a single crate. Arrangement strategy matching Jetpack Compose’s linear arrangements.
LinkAnnotation
Re-export the UI crate so applications can depend on a single crate. Mirrors Jetpack Compose’s LinkAnnotation sealed class.
MediaCommand
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. A button pressed somewhere the application does not draw: a lock screen, a notification, a headset, a car.
MediaError
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate.
MemoryPressure
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. How hard the platform asks for memory back.
PaintLayer
Re-export the UI crate so applications can depend on a single crate. Layer that a paint operation targets within the rendering pipeline.
PatchFill
Re-export the UI crate so applications can depend on a single crate. How a region larger than its source is filled.
PeerError
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Errors from peer serving or fetching.
PlatformDirectoryError
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate.
PlaybackState
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. What the player is doing.
PointerEventKind
Re-export the UI crate so applications can depend on a single crate.
PointerSource
Re-export the UI crate so applications can depend on a single crate. The kind of physical device that produced a pointer event.
PowerReading
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. One power reading, or the reason there is no value.
PreferencesError
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Errors produced by a preferences backend.
PressInteraction
Re-export the UI crate so applications can depend on a single crate.
PurchaseEvent
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. A one-shot thing that happened, which a snapshot cannot express.
RenderEffect
Re-export the UI crate so applications can depend on a single crate. A render effect applied to a graphics layer’s rendered content.
RenderOp
Re-export the UI crate so applications can depend on a single crate. A rendered operation emitted by the headless renderer.
ResizeRefused
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Why a resize request was refused.
SemanticsAction
Re-export the UI crate so applications can depend on a single crate. Semantics action exposed to the input system.
SemanticsRole
Re-export the UI crate so applications can depend on a single crate. Semantic role describing how a node should participate in accessibility and hit testing. Roles are now derived from SemanticsConfiguration rather than widget types.
SemanticsWidgetRole
Re-export the UI crate so applications can depend on a single crate. What kind of control a node is, as screen readers announce it.
ShareError
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate.
SliderOrientation
Re-export the UI crate so applications can depend on a single crate. Main axis used by a Slider.
StorePhase
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. How far along the store connection is.
SvgPainterError
Re-export the UI crate so applications can depend on a single crate. Errors returned while parsing or rasterizing an SVG painter.
SwipeDismissDirection
Re-export the UI crate so applications can depend on a single crate. Directions accepted by a swipe-dismiss container.
SwipeDismissSide
Re-export the UI crate so applications can depend on a single crate. Which edge the dismiss background is revealed on, i.e. the side the row is being swiped away from. Passed to the SwipeToDismissSpec::with_background closure so its label/icon can follow the swipe direction instead of being pinned to one side.
SystemTheme
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate.
TextDrawStyle
Re-export the UI crate so applications can depend on a single crate.
TextFieldLineLimits
Re-export the UI crate so applications can depend on a single crate. Line limit configuration for text fields.
TextOverflow
Re-export the UI crate so applications can depend on a single crate. How overflowing text should be handled.
TextShaping
Re-export the UI crate so applications can depend on a single crate.
ThermalState
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. The operating system’s thermal-pressure level.
UriHandlerError
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate.
VerticalAlignment
Re-export the UI crate so applications can depend on a single crate. Alignment along the vertical axis.
WindowMoveMode
Movement behavior for a group of attached peer windows.
WindowResizeDirection
Edge or corner used by WindowModifierExt::window_resize_area.

Constants§

ANDROID_SYSTEM_FONT_DIR
Font registration vocabulary named by AppLauncher’s font methods: the platform font directory AppLauncher::with_system_font_family wants, the weight set it registers, and the registry and error AppLauncher::with_fonts_from hands out. Directory Android keeps its system font files in.
DEFAULT_ALPHA
Re-export the UI crate so applications can depend on a single crate.
DEFAULT_CHUNK_LEN
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Chunk size the framework’s own readers hand back per ContentReader::read_chunk.
DEFAULT_DURABLE_SAVE_DEADLINE
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. The budget used when a host does not state one of its own.
DEFAULT_SYSTEM_FAMILY_WEIGHTS
Font registration vocabulary named by AppLauncher’s font methods: the platform font directory AppLauncher::with_system_font_family wants, the weight set it registers, and the registry and error AppLauncher::with_fonts_from hands out. The weights SoftwareTextFontRegistry::register_system_family registers when an app does not name its own: Compose’s Regular/Medium/Bold set.
DUCKED_GAIN
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. The gain applied while another app is being heard over this one.
IMAGE_EXTENSIONS
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Image extensions offered when the picker falls back to the file picker.
MAX_FONT_SCALE
Re-export the UI crate so applications can depend on a single crate. Largest system font scale honoured. Android’s own accessibility slider tops out at 2.0.
MAX_FONT_SCALE_KNOTS
Re-export the UI crate so applications can depend on a single crate. How many knots a curve keeps.
MAX_PENDING_CHUNKS
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. How many chunks may wait ahead of the consumer before the producer stops reading. Enough to keep a socket busy across one scheduling gap, and far short of holding a download in memory.
MIN_FONT_SCALE
Re-export the UI crate so applications can depend on a single crate. Smallest system font scale honoured; below this, text stops being readable as text.
OCTAVE_BAND_CENTERS_HZ
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. The octave centres a graphic equalizer is built on, in hertz.

Traits§

AppInfo
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Reports the packaged identity of the running app.
AppUpdater
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Platform implementation for update discovery and package installation.
Arrangement
Re-export the UI crate so applications can depend on a single crate. Trait implemented by arrangement strategies that distribute children on an axis.
AudioPlayer
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Plays sound. Installed by the platform backend; the default is a no-op.
BackgroundActivity
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Marks periods of important work so the platform grants background running time. Implementations are Send + Sync (the app toggles activity from its worker threads).
BoxScope
Re-export the UI crate so applications can depend on a single crate. Marker trait matching Jetpack Compose’s BoxScope API.
BoxWithConstraintsScope
Re-export the UI crate so applications can depend on a single crate. Scope exposed to BoxWithConstraints content.
BundledAssetReader
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Chunked reader over one bundled asset.
BundledAssets
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Access to files packaged in the app bundle.
ByteSource
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Random-access source of bytes the app is willing to serve.
Camera
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. A platform capture session.
Content
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. One readable piece of content from any source.
ContentFolder
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. A folder granted by a provider.
ContentReader
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. A pull reader over one piece of content.
ContentResolver
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Turns a provider URI into readable content.
ContentSink
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. A writable destination for streamed content.
ContentStream
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. An asynchronous stream of content.
DelegatableNode
Re-export the UI crate so applications can depend on a single crate. Provides traversal helpers that mirror Jetpack Compose’s DelegatableNode contract.
DeviceInfo
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Provides device and process information.
FilePicker
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Presents the system’s file, folder and document choosers.
FolderReader
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Chunked reader over one file in a writable folder.
FolderWriter
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Chunked writer over one file in a writable folder.
Haptics
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Performs haptic feedback. Installed by the platform backend; the default is a no-op.
HostController
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Host operations supplied by the framework platform backend.
HostSurface
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. What an application may ask of the host’s surface.
HttpBody
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. A response body, read a chunk at a time.
HttpClient
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. A platform’s HTTP.
ImagePicker
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Picks or captures a single image and returns its encoded bytes.
LayoutEngine
Re-export the UI crate so applications can depend on a single crate. Extension trait that equips MemoryApplier with layout computation.
LazyListScope
Re-export the UI crate so applications can depend on a single crate. Receiver scope for lazy list content definition.
Measurable
Re-export the UI crate so applications can depend on a single crate. Object capable of measuring a layout child and exposing intrinsic sizes.
MediaPlayer
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. A platform media stack.
MediaSourceOpener
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Opens a media URI the decoder cannot open for itself.
ModifierNode
Re-export the UI crate so applications can depend on a single crate. Core trait implemented by modifier nodes.
ModifierNodeElement
Re-export the UI crate so applications can depend on a single crate. Strongly typed modifier elements that can create and update nodes while exposing equality/hash/inspector contracts that mirror Jetpack Compose.
NetworkMonitor
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Reports the current network status.
Notifier
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Posts local notifications. Installed by the platform backend; the default is a no-op.
PlatformTextInputHandler
Re-export the UI crate so applications can depend on a single crate. Callbacks a platform installs to control its on-screen keyboard.
PowerMonitor
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Platform power policy.
PreferencesStore
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Durable key/value storage owned by the application.
Purchases
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. A store backend.
ShareSheet
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. The OS share sheet. Installed by the platform backend; the default is a no-op that reports ShareError::Unsupported.
SubcomposeLayoutScope
Re-export the UI crate so applications can depend on a single crate. Base trait for measurement scopes.
SubcomposeMeasureScope
Re-export the UI crate so applications can depend on a single crate. Public trait exposed to measure policies for subcomposition.
TextMeasurer
Re-export the UI crate so applications can depend on a single crate.
UriHandler
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate.
WindowModifierExt
Modifier helpers for composables rendered in OS windows.
WritableFolderStore
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Synchronous, thread-safe access to a user-chosen writable folder.

Functions§

AnimatedVisibility
Re-export the UI crate so applications can depend on a single crate. Animates the appearance and disappearance of its content when visible changes.
BackHandler
Handles platform back requests on the UI thread while enabled is true. Nested handlers follow stack order: the innermost active handler receives the request and dropping it restores the handler beneath it.
BasicText
Re-export the UI crate so applications can depend on a single crate.
BasicTextField
Re-export the UI crate so applications can depend on a single crate.
BasicTextFieldDecorated
Re-export the UI crate so applications can depend on a single crate. Creates an editable field and lets decoration_box place composable labels, placeholders, icons, buttons, prefixes, or suffixes around it.
BasicTextFieldWithOptions
Re-export the UI crate so applications can depend on a single crate. Creates an editable text field with custom options.
BasicTextWithOptions
Re-export the UI crate so applications can depend on a single crate.
BitmapPainter
Re-export the UI crate so applications can depend on a single crate.
BitmapRegionPainter
Re-export the UI crate so applications can depend on a single crate. Creates a painter that draws one region from a bitmap atlas.
Box
Re-export the UI crate so applications can depend on a single crate. A layout composable that stacks its children on top of each other.
BoxWithConstraints
Re-export the UI crate so applications can depend on a single crate.
BundledAssetInstallEffect
Installs a declared bundled-asset set on a worker and returns the outcome on the UI runtime. Work is cancelled with the owning composition.
Button
Re-export the UI crate so applications can depend on a single crate. A clickable button with a background and content.
Canvas
Re-export the UI crate so applications can depend on a single crate. A composable that draws custom content using a DrawScope.
ClickableText
Re-export the UI crate so applications can depend on a single crate. Displays an AnnotatedString and calls on_click with the byte offset of the character under the pointer at the time of the click.
Column
Re-export the UI crate so applications can depend on a single crate. A layout composable that places its children in a vertical sequence.
Crossfade
Re-export the UI crate so applications can depend on a single crate. Crossfade allows switching between two layouts with a crossfade animation.
DisposableEffect
Core runtime helpers commonly used by applications. Runs effect when this call site first enters composition, and again whenever keys no longer equals the value it ran with last time; the previous run’s DisposableEffectScope::on_dispose cleanup, if any, runs first, and also when the call site leaves composition entirely.
DurableSaveEffect
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Registers save for as long as this call stays in the composition.
ForEach
Re-export the UI crate so applications can depend on a single crate.
FrameEffect
Runs on_frame on every animation frame while running is true.
Image
Re-export the UI crate so applications can depend on a single crate.
KeepScreenOn
Keeps the platform display awake while this call remains in composition and enabled is true. Multiple active callers are reference-counted.
LaunchedEffect
Core runtime helpers commonly used by applications. Runs effect when this call site first enters composition, and again whenever keys no longer equals the value it ran with last time.
LaunchedEffectAsync
Core runtime helpers commonly used by applications. Like LaunchedEffect, but mk_future builds the future to drive rather than receiving a scope to call back into synchronously.
Layout
Re-export the UI crate so applications can depend on a single crate.
LazyColumn
Re-export the UI crate so applications can depend on a single crate. A vertically scrolling list that only composes visible items.
LazyRow
Re-export the UI crate so applications can depend on a single crate. A horizontally scrolling list that only composes visible items.
LifecycleEffect
Registers a lifecycle observer for the lifetime of the current composition.
LinkedText
Re-export the UI crate so applications can depend on a single crate. Renders an AnnotatedString and automatically dispatches link clicks:
ProvideAudio
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Provides the installed audio player to content.
ProvideFilePicker
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Provides the default FilePicker to descendant composables.
ProvideHaptics
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate.
ProvideImagePicker
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate.
ProvideLaunchArgs
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Provides launch arguments to content.
ProvideLayoutDirection
Re-export the UI crate so applications can depend on a single crate. Runs content in direction.
ProvideLazyItemKey
Re-export the UI crate so applications can depend on a single crate. Composes content as the item identified by key.
ProvideLifecycle
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Provides the host’s lifecycle state to descendant composables.
ProvideNotifier
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate.
ProvideShareSheet
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate.
ProvideSystemTheme
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate.
ProvideUriHandler
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate.
Row
Re-export the UI crate so applications can depend on a single crate. A layout composable that places its children in a horizontal sequence.
Slider
Re-export the UI crate so applications can depend on a single crate. A 0..=1 slider whose visuals are ordinary composables supplied by content. The framework owns pointer capture, cancellation, rotary input, pressed interactions, value mapping, and completion delivery.
Spacer
Re-export the UI crate so applications can depend on a single crate. A component that represents an empty space.
SubcomposeLayout
Re-export the UI crate so applications can depend on a single crate.
SwipeToDismiss
Re-export the UI crate so applications can depend on a single crate. Wraps content so it can be swiped away horizontally.
SwipeToDismissBox
Re-export the UI crate so applications can depend on a single crate. Full-content navigation dismissal. The gesture starts at the leading edge, moves only toward the end edge, and leaves sizing to the navigation owner.
Text
Re-export the UI crate so applications can depend on a single crate.
TextWithOptions
Re-export the UI crate so applications can depend on a single crate.
Window
Renders content in an operating-system window owned by the current composition.
WindowGroup
Applies attachment and move policy to all peer windows declared inside it.
WindowNode
Renders content in a peer operating-system window.
acquire_background_work
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Acquires background execution for one independent operation.
active_focus_target
Re-export the UI crate so applications can depend on a single crate. Returns the currently active focus target, if any.
app_info
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. The active app info: the platform implementation if installed, otherwise the built-in default.
app_update_capabilities
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. What this host can do about application updates.
app_update_checks_supported
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Returns whether this host can discover a newer release.
app_update_status
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Returns the latest update state.
app_updates_supported
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Returns whether this host can install application updates.
application_directories
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Returns typed directories for the registered application.
application_id
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. The registered application id, if a host has published one.
audio_focus
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. What the rest of the device is doing with the output.
back_interception_enabled
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Whether the app asked to intercept the platform back control. Read by the platform input path.
background_active
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Whether at least one background-work lease is active.
background_activity
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. The registered background-activity handler, or None where unsupported.
background_app
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Requests that the host move the app to the background.
build_layout_tree_from_applier
Re-export the UI crate so applications can depend on a single crate. Builds a layout snapshot from retained layout state in the live applier tree.
build_semantics_tree_from_applier
Re-export the UI crate so applications can depend on a single crate. Builds a semantics snapshot from retained layout state in the live applier tree.
build_semantics_tree_from_layout_tree
Re-export the UI crate so applications can depend on a single crate. Builds a semantics tree from an existing LayoutTree.
build_version
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. The build identifier a store orders releases by, if the platform knows one.
bundled_assets
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Returns the platform reader, if this host has an application bundle.
camera
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. The installed camera, or None where live capture is unsupported — which is when an application falls back to the image picker.
camera_lenses
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. The devices the application may pick between, as the backend last published them.
camera_state
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. What the session is doing.
camera_supported
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Whether this platform has a live camera at all.
capture_camera_still
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Takes one full-resolution still and resolves with it.
check_for_app_update
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Starts update discovery and publishes the initial state.
clean_slot_skip_count
Re-export the UI crate so applications can depend on a single crate. Number of subcompose measure passes on this thread that reused a retained slot without a compose walk. Diagnostic surface for tests and telemetry; see SubcomposeMeasureScope::subcompose for when a slot may skip.
clear_application_id
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Removes the registered application id (tests and teardown).
clear_focus_invalidations
Re-export the UI crate so applications can depend on a single crate. Clears all pending focus invalidations without processing them.
clear_host_controller
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Removes the installed host controller.
clear_incoming_content
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Discards anything waiting for a collector. Used by tests and host teardown.
clear_launcher_state
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Discards every framework-owned launcher record. Used by tests and by host teardown so one composition’s in-flight request never leaks into the next.
clear_modals
Re-export the UI crate so applications can depend on a single crate. Clears every registration. Used by tests and by host teardown so one composition’s modals never outlive it.
clear_platform_app_info
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Removes any registered platform app info (tests and teardown).
clear_platform_app_updater
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Removes the platform updater.
clear_platform_audio
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Removes any registered platform audio player (tests and teardown).
clear_platform_background_activity
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Removes any registered handler (tests/teardown).
clear_platform_bundled_assets
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Removes the platform reader.
clear_platform_camera
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Removes the platform camera and forgets everything the last session published.
clear_platform_content_resolver
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Removes any installed platform content resolver.
clear_platform_device_info
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Removes any registered platform device info (tests and teardown).
clear_platform_file_picker
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Removes any registered platform chooser (used in tests and teardown).
clear_platform_haptics
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Removes any registered platform haptics (tests and teardown).
clear_platform_host_surface
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Removes the installed host surface (tests and teardown).
clear_platform_image_picker
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Removes any registered platform image picker (tests and teardown).
clear_platform_launch_args
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Removes any platform-reported launch arguments (tests and teardown).
clear_platform_media_player
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Removes the platform media player and forgets everything it published.
clear_platform_media_source_opener
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Removes the platform media source opener.
clear_platform_network_monitor
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Removes any registered platform network monitor (tests and teardown).
clear_platform_notifier
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate.
clear_platform_power_monitor
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Removes the platform power monitor.
clear_platform_preferences
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Removes any installed platform backend (tests and teardown).
clear_platform_purchases
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Removes any registered purchase backend (tests and teardown).
clear_platform_share_sheet
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Removes any registered platform share sheet (tests and teardown).
clear_platform_system_theme
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Removes any platform-reported theme (tests and teardown).
clear_platform_uri_handler
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Removes any registered platform URI handler (tests and teardown).
clear_pointer_repasses
Re-export the UI crate so applications can depend on a single crate. Clears all pending pointer repasses without processing them.
clear_semantics_invalidations
Re-export the UI crate so applications can depend on a single crate. Drops every pending semantics invalidation without servicing it.
collect_is_pressed_as_state
Re-export the UI crate so applications can depend on a single crate. Free-function form of MutableInteractionSource::collectIsPressedAsState.
collect_modifier_slices
Re-export the UI crate so applications can depend on a single crate. Collects modifier node slices directly from a reconciled ModifierNodeChain.
collect_semantics_from_modifier
Re-export the UI crate so applications can depend on a single crate. Collects semantics by instantiating a temporary modifier chain from a Modifier.
collect_slices_from_modifier
Re-export the UI crate so applications can depend on a single crate. Collects modifier node slices by instantiating a temporary node chain from a Modifier.
collect_stream
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Collects an entire stream. Convenient for tests and small trees; production collectors consume ContentStream::next incrementally.
command_draw_scope
Re-export the UI crate so applications can depend on a single crate. The scope every framework-run draw command records into: sized by the consumer, measuring text with the app’s fonts.
command_draw_scope_reusing
Re-export the UI crate so applications can depend on a single crate. command_draw_scope recording into storage the consumer already owns — the retained-recorder path where a command’s buffer keeps its capacity across frames.
content_delta_for_thumb_drag
Re-export the UI crate so applications can depend on a single crate. How far the content moves when the thumb is dragged delta along a track of track, given the thumb it currently shows.
content_length
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Returns the total length of a shared handle, via a one-byte range probe.
current_density
Re-export the UI crate so applications can depend on a single crate. Returns the current density scale factor (logical px per dp).
current_font_scale
Re-export the UI crate so applications can depend on a single crate. Returns the system font scale — the multiplier the user chose in the platform’s font-size setting, 1.0 when they left it alone.
current_font_scale_curve
Re-export the UI crate so applications can depend on a single crate. Returns the conversion the platform performs for a size in Sp.
current_lifecycle_state
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Returns the latest lifecycle state published by the platform host.
current_media_item
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. The open item, or None when nothing is.
current_native_window_surface_origin
Returns the desktop-space origin of the current native window surface while dispatching input inside a native window.
default_audio
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. The installed platform player, or a no-op one.
default_file_picker
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. The default chooser (the platform backend).
default_haptics
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate.
default_http_client
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate.
default_image_picker
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate.
default_notifier
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate.
default_share_sheet
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate.
default_system_theme
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate.
default_uri_handler
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate.
delay
Core runtime helpers commonly used by applications. Resolves after duration has elapsed.
density
Re-export the UI crate so applications can depend on a single crate. The device pixel grid in force here.
device_info
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. The active device info: the platform implementation if installed, otherwise the built-in default.
dispatch_lifecycle
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Publishes a lifecycle transition from the platform host.
dispatch_lifecycle_state
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Publishes a platform lifecycle state and derives the transition source from the framework’s previous state.
dispatch_modal_back
Re-export the UI crate so applications can depend on a single crate. Asks the innermost modal surface to close.
drain_reader
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Reads a reader to its end.
dropped_camera_frames
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. How many frames were produced while every observer was still busy.
dropped_media_samples
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. How many sample blocks were produced while every observer was still busy.
durable_save_deadline
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. How long the installed host will wait for durable saves.
execute_draw_commands
Re-export the UI crate so applications can depend on a single crate.
exit_app
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Requests that the host finish the app.
exit_requested
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Whether an exit request is outstanding, without consuming it.
fade_in
Re-export the UI crate so applications can depend on a single crate. Fades in the content of an AnimatedVisibility, from transparent to fully opaque.
fade_out
Re-export the UI crate so applications can depend on a single crate. Fades out the content of an AnimatedVisibility, from fully opaque to transparent.
fetch_range
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Fetches a byte range of a shared handle from a peer at base (e.g. "192.168.1.20:54123") into memory. len = None fetches to the end.
fetch_to_writer
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Streams a byte range of a shared handle from a peer into writer, in chunks, without buffering the whole range in memory — use this to spool a track to disk. Returns the total source length (from Content-Range) when known.
file_content
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. A shared handle to the file at path.
file_folder
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. A shared handle to the directory at path.
folder_files
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Streams every file in folder’s tree, using the provider’s native stream when it has one and a depth-first walk otherwise.
format_layout_tree
Re-export the UI crate so applications can depend on a single crate. Returns a formatted string representation of the layout tree
format_modifier_chain
Re-export the UI crate so applications can depend on a single crate. Formats the modifier chain using inspector data.
format_render_scene
Re-export the UI crate so applications can depend on a single crate. Returns a formatted string representation of the render scene
format_screen_summary
Re-export the UI crate so applications can depend on a single crate. Returns a compact summary of what’s on screen (counts by type).
get_cursor_x_for_offset
Re-export the UI crate so applications can depend on a single crate.
get_offset_for_position
Re-export the UI crate so applications can depend on a single crate.
has_focused_field
Re-export the UI crate so applications can depend on a single crate. Returns true if any text field currently has focus. Checks weak ref liveness and clears stale focus state.
has_pending_draw_repasses
Re-export the UI crate so applications can depend on a single crate. Returns true if any draw repasses are pending.
has_pending_focus_invalidations
Re-export the UI crate so applications can depend on a single crate. Returns true if any focus invalidations are pending.
has_pending_layout_repasses
Re-export the UI crate so applications can depend on a single crate. Returns true if any layout repasses are pending.
has_pending_measure_repasses
Re-export the UI crate so applications can depend on a single crate. Returns true if any measure repasses are pending.
has_pending_pointer_repasses
Re-export the UI crate so applications can depend on a single crate. Returns true if any pointer repasses are pending.
has_pending_semantics_invalidations
Re-export the UI crate so applications can depend on a single crate. Whether any semantics invalidations are waiting to be serviced.
host_controller
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Returns the installed framework host controller.
host_density
How many physical pixels this host puts in one logical pixel.
host_surface
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. The installed host surface, or one that accepts no resize requests.
host_surface_size
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. The size the host last reported.
http_body_ref
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Wraps body in an HttpBodyRef.
install_app_update
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Starts package installation and publishes the initial transfer state.
install_bundled_asset_set
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Installs a declarative set without exposing bundle APIs or partial-file handling to the application.
install_modifier_chain_trace
Re-export the UI crate so applications can depend on a single crate. Installs a callback that receives modifier chain snapshots when debugging is enabled.
interval
Core runtime helpers commonly used by applications. Runs tick every period until the returned future is dropped.
isDebuggable
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Whether the OS considers this build debuggable, read from composition.
isSystemInDarkTheme
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate.
is_cursor_visible
Re-export the UI crate so applications can depend on a single crate. Returns whether the cursor should be visible right now.
is_debuggable
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Whether the OS considers this build debuggable — see LaunchArgs::is_debuggable.
key
Core runtime helpers commonly used by applications. Scopes composition identity to keys for the duration of content.
latest_camera_frame
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. The last frame the session produced, or None before the first one.
latest_media_samples
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. The last block of samples, or None when analysis is off or nothing has played yet. Read during draw, so a visualiser never draws a stale block.
launchBlocking
Core runtime helpers commonly used by applications. Runs work off the UI thread and hands its result to on_ui on the UI thread.
launch_args
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. The launch arguments this app was started with.
launch_args_from_command_line
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Parses --name=value (text) and bare --name (true) out of a command line.
layout_direction
Re-export the UI crate so applications can depend on a single crate. The layout direction in force here.
layout_text
Re-export the UI crate so applications can depend on a single crate.
lazy_item_key
Re-export the UI crate so applications can depend on a single crate. The key of the lazy item being composed, or None outside a keyed lazy item.
local_audio
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. The CompositionLocal descendants read to reach the audio player.
local_bring_into_view_responder
Re-export the UI crate so applications can depend on a single crate. CompositionLocal carrying the nearest scroll container’s BringIntoViewResponder, or None outside any scroll container.
local_density
Re-export the UI crate so applications can depend on a single crate. The CompositionLocal carrying the device pixel grid.
local_file_picker
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. The CompositionLocal carrying the active FilePicker.
local_haptics
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate.
local_http_client
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate.
local_image_picker
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate.
local_ime_insets
Re-export the UI crate so applications can depend on a single crate. CompositionLocal carrying the on-screen soft-keyboard (IME) insets in logical pixels. The bottom field is the height the keyboard currently covers at the bottom of the window (zero when it is hidden); the other edges are zero.
local_launch_args
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. The composition local carrying the launch arguments.
local_layout_direction
Re-export the UI crate so applications can depend on a single crate. The CompositionLocal carrying the current layout direction.
local_lazy_item_key
Re-export the UI crate so applications can depend on a single crate. The CompositionLocal carrying the current lazy item’s key.
local_lifecycle_state
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. The CompositionLocal carrying the host’s current lifecycle state.
local_modal_depth
Re-export the UI crate so applications can depend on a single crate. CompositionLocal carrying the modal depth at which content is being composed: zero outside any dialog, or the depth of the innermost dialog that encloses the current composition.
local_notifier
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate.
local_on_light_surface
Re-export the UI crate so applications can depend on a single crate. CompositionLocal marking the surface the floating glass sits over as LIGHT. Liquid glass is transparent, so its labels and hairlines must flip to dark ink over a light backdrop to stay readable — the same content over a dark app keeps its near-white ink. Defaults to false (dark surface), preserving the existing look; a light-themed screen provides true.
local_safe_area_insets
Re-export the UI crate so applications can depend on a single crate. CompositionLocal carrying the platform safe-area insets in logical pixels.
local_share_sheet
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate.
local_system_theme
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate.
local_uri_handler
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate.
log_layout_tree
Re-export the UI crate so applications can depend on a single crate. Logs the current layout tree through the logger with indentation showing hierarchy.
log_modifier_chain
Re-export the UI crate so applications can depend on a single crate. Logs the contents of a modifier node chain including capabilities.
log_render_scene
Re-export the UI crate so applications can depend on a single crate. Logs the current render scene through the logger.
log_screen_summary
Re-export the UI crate so applications can depend on a single crate. Logs a compact summary of what’s on screen (counts by type).
map_ordered_concurrent
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate.
measure_layout
Re-export the UI crate so applications can depend on a single crate. Runs the measure phase for the subtree rooted at root.
measure_layout_with_options
Re-export the UI crate so applications can depend on a single crate.
measure_text
Re-export the UI crate so applications can depend on a single crate.
measure_text_for_node
Re-export the UI crate so applications can depend on a single crate.
measure_text_with_options
Re-export the UI crate so applications can depend on a single crate.
measure_text_with_options_for_node
Re-export the UI crate so applications can depend on a single crate.
media_capabilities
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. What the installed backend can do, or MediaCapabilities::default — every capability absent — when there is none.
media_equalizer
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. The equalizer setting last applied.
media_equalizer_bands
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. The equalizer bands this platform has, in the order gains are given in.
media_playback_supported
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Whether this platform can play media at all.
media_player
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. The installed media player, or None where this platform has none.
media_volume
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. The volume the application asked for, before the audio-focus gain.
modal_depth
Re-export the UI crate so applications can depend on a single crate. How many modal surfaces are open. Reading this in a composable subscribes to it, so the reader recomposes when a modal opens or closes.
mutableStateList
Core runtime helpers commonly used by applications.
mutableStateListOf
Core runtime helpers commonly used by applications.
mutableStateMap
Core runtime helpers commonly used by applications.
mutableStateMapOf
Core runtime helpers commonly used by applications.
mutableStateOf
Core runtime helpers commonly used by applications. Creates a new MutableState initialized with the given value.
network_monitor
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. The active network monitor: the platform one if installed, else the default (online, unmetered).
network_status
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Convenience: the current network status.
next_cursor_blink_time
Re-export the UI crate so applications can depend on a single crate. Returns the next cursor blink transition time, if any. Use this for WaitUntil scheduling in the event loop.
nine_patch_quads
Re-export the UI crate so applications can depend on a single crate. The draws that fill destination with source as a nine-patch.
note_store_news
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Tells the app that the store has news. Called by a purchase backend.
observe_app_update_status
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Observes update state changes. The current state is delivered immediately.
observe_audio_focus
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Registers observer for audio-focus changes. The current focus is delivered at once.
observe_back_requests
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Registers a callback run whenever a back request arrives, so an app can be told rather than having to ask.
observe_camera_frames
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Registers observer for frames. Applications collect rememberCameraFrames instead of calling this.
observe_camera_lenses
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Registers observer for the lens list. The current list is delivered at once, so a screen composed mid-session shows the devices rather than waiting for the next change.
observe_camera_state
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Registers observer for session state. The current state is delivered at once, so a screen composed mid-session shows what is happening rather than waiting for the next change.
observe_camera_stills
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Registers observer for stills.
observe_host_surface_size
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Registers observer for host-surface size changes. Applications collect rememberHostSurfaceSize instead of calling this.
observe_incoming_content
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Registers observer for incoming content, replaying anything that arrived before there was anywhere to put it.
observe_lifecycle
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Observes host lifecycle transitions until the returned handle is dropped.
observe_media_commands
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Registers observer for media-session commands.
observe_media_samples
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Registers observer for analysis samples.
observe_memory_pressure
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Registers observer for pressure reports.
observe_playback_progress
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Registers observer for position updates. The current position is delivered at once.
observe_playback_state
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Registers observer for playback state. The current state is delivered at once, so a screen composed mid-item shows what is happening rather than waiting for the next change.
observe_power_state
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Registers observer for power-state changes. Applications collect rememberPowerState instead of calling this.
observe_store_news
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Registers a callback run whenever the store has news, so an app can be told rather than having to ask.
octave_equalizer_bands
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. OCTAVE_BAND_CENTERS_HZ as bands, each able to lift or cut by range_db.
open_media
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Opens item, publishing PlaybackState::Loading before the backend is asked so a screen shows the wait rather than a gap.
open_media_source
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Opens uri for decoding.
open_writable_folder
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Reopens a writable folder from a stored handle. Synchronous and callable from any thread; returns None only when writable folders are unsupported here.
path_from_uri
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. The path a media URI addresses, or None when it addresses something that is not a local file — a stream, a content provider, a browser blob.
pause_media
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Stops without giving up the position.
peek_focus_invalidation
Re-export the UI crate so applications can depend on a single crate. Returns true if a focus invalidation is pending without clearing it.
peek_layout_invalidation
Re-export the UI crate so applications can depend on a single crate. Returns true if a layout invalidation is pending without clearing it.
peek_pointer_invalidation
Re-export the UI crate so applications can depend on a single crate. Returns true if a pointer invalidation is pending without clearing it.
peek_render_invalidation
Re-export the UI crate so applications can depend on a single crate. Returns true if a render invalidation is pending without clearing it.
pending_layout_repass_nodes_snapshot
Re-export the UI crate so applications can depend on a single crate. Returns a stable snapshot of pending layout repass node IDs without consuming them.
pending_measure_repass_nodes_snapshot
Re-export the UI crate so applications can depend on a single crate. Returns a stable snapshot of pending measure repass node IDs without consuming them.
percent_decode
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Decodes the percent-escapes in a platform content URI, refusing input it cannot decode exactly.
percent_decode_lossy
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Decodes the percent-escapes in a platform content URI for display.
play_media
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Starts, or resumes, the open item.
playback_progress
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Where the open item is.
playback_state
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. What the player is doing.
power_capabilities
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. What the installed backend can answer on this platform.
power_monitor
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Returns the platform monitor, or one that answers “unsupported”.
power_state
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. The current power state, read from the installed backend.
preferences
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. The active preferences store: the platform backend if one is installed, otherwise the framework’s own file-backed store under the application’s config directory.
prepare_text_layout
Re-export the UI crate so applications can depend on a single crate.
prepare_text_layout_for_node
Re-export the UI crate so applications can depend on a single crate.
probe_media_duration
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Reads how long item is without playing it.
process_focus_invalidations
Re-export the UI crate so applications can depend on a single crate. Processes all pending focus invalidations.
process_pointer_repasses
Re-export the UI crate so applications can depend on a single crate. Processes all pending pointer repasses.
process_semantics_invalidations
Re-export the UI crate so applications can depend on a single crate. Services every pending semantics invalidation.
produceState
Core runtime helpers commonly used by applications. Runs producer when key changes and exposes what it publishes as state.
prune_draw_observations_to_nodes
Re-export the UI crate so applications can depend on a single crate. Removes draw observations whose owners are absent from the retained scene.
publish_audio_focus
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Publishes what the rest of the device is doing with the output, and applies the policy that goes with it.
publish_camera_frame
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Publishes a frame. Backends call this from whichever thread the platform delivers frames on.
publish_camera_lenses
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Publishes the lens list and the device in use. Backends call this when a session opens and when the device changes.
publish_camera_state
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Publishes what the session is doing.
publish_camera_still
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Publishes the answer to a still request.
publish_host_surface_size
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Publishes a new host-surface size. Platform backends call this whenever the host resizes the surface.
publish_incoming_content
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Publishes content shared into the application. Callable from any thread; the framework moves each item onto the UI thread before a composition sees it.
publish_media_command
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Publishes a button pressed outside the application’s own UI.
publish_media_samples
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Publishes a block of samples as it is heard.
publish_memory_pressure
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Publishes a pressure report. Callable from any thread; the framework moves each report onto the UI thread before a composition sees it.
publish_playback_progress
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Publishes where the open item is. Backends call this as the position moves, which for a local file is a handful of times a second.
publish_playback_state
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Publishes what the player is doing.
publish_power_state
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Publishes a new power state. Platform backends call this whenever the OS reports a thermal or battery change, from whatever thread delivered it.
purchases
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. The active backend: the platform one if installed, else the no-store backend.
push_back_request
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Record a system back request (called by the platform backend’s gesture / button handler).
push_notification_deeplink
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Record the deep-link payload of a notification the user just tapped. Called by the platform backend’s notification delegate; the app drains it via take_notification_deeplink.
record_dropped_camera_frame
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Records that the platform produced a frame nobody could take.
record_dropped_media_samples
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Records that the backend produced a block nobody could take.
register_durable_save
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Registers work that must reach durable storage before the host suspends.
release_free_memory
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Asks the allocator to return free pages to the system.
remember
Core runtime helpers commonly used by applications.
rememberAppUpdateState
Remembers observable application update state for the current composition.
rememberAudioFocus
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. What the rest of the device is doing with the output, observed for as long as this call stays in the composition.
rememberCameraFrames
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. The frames the session produces, as a stream this composition collects.
rememberCameraLenses
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. The lens list and the device in use, observed for as long as this call stays in the composition.
rememberCameraState
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. What the camera session is doing, observed for as long as this call stays in the composition.
rememberCameraStills
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. The stills the session produces, as a stream this composition collects.
rememberCoroutineScope
Core runtime helpers commonly used by applications. Remembers a CoroutineScope bound to this position in the composition.
rememberDraggableState
Re-export the UI crate so applications can depend on a single crate. Remembers a DraggableState for this composition, keeping its delta handler current across recompositions.
rememberHostSurfaceSize
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. The host surface’s size, observed for as long as this call stays in the composition.
rememberIncomingContent
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Collects content shared into the application for as long as this call stays in the composition.
rememberKeyed
Core runtime helpers commonly used by applications. Like remember, but recomputes whenever key changes.
rememberLazyListState
Re-export the UI crate so applications can depend on a single crate. Creates a remembered LazyListState with default initial position.
rememberLazyListStateWithPosition
Re-export the UI crate so applications can depend on a single crate. Creates a remembered LazyListState with the specified initial position.
rememberLifecycleEvents
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Host lifecycle transitions as a composition-scoped stream.
rememberLifecycleState
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. The host’s lifecycle state as observable state.
rememberMediaCommands
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Buttons pressed outside the application’s own UI, as a stream this composition collects.
rememberMediaSamples
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Samples as they are heard, as a stream this composition collects.
rememberMemoryPressure
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Collects pressure reports for as long as this call stays in the composition.
rememberMutableInteractionSource
Re-export the UI crate so applications can depend on a single crate.
rememberMutableStateOf
Core runtime helpers commonly used by applications. A composable hook that creates and remembers a MutableState.
rememberMutableStateOfNeverEqual
Core runtime helpers commonly used by applications.
rememberOpenFileLauncher
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Remembers a single-file launcher under request_key.
rememberOpenFilesLauncher
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Remembers a multi-file launcher under request_key.
rememberOpenFolderLauncher
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Remembers a folder launcher under request_key.
rememberPlaybackProgress
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Where the open item is, observed for as long as this call stays in the composition.
rememberPlaybackState
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. What the player is doing, observed for as long as this call stays in the composition.
rememberPowerState
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. The device’s power state, observed for as long as this call stays in the composition.
rememberPurchaseEvents
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. One-shot purchase outcomes as a composition-scoped stream.
rememberSaveDocumentLauncher
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Remembers a save-document launcher under request_key.
rememberSaveable
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. State that survives host recreation and process death, stored under key.
rememberSoundBank
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Loads a set of cues once and keeps them alive across recompositions.
rememberStoreState
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. The store’s current state, observed for as long as this call stays in the composition.
rememberSvg
Re-export the UI crate so applications can depend on a single crate.
rememberSwipeDismissState
Re-export the UI crate so applications can depend on a single crate. Remembers the swipe state for one row.
rememberUpdatedState
Core runtime helpers commonly used by applications. Returns a MutableState that always holds the latest value.
rememberWindowState
Remembers native-window position and size across recompositions.
rememberWritableFolderLauncher
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Remembers a writable-folder launcher under request_key.
request_camera_still
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Asks for a full-resolution still, which arrives through rememberCameraStills.
request_current_draw_redraw
Re-export the UI crate so applications can depend on a single crate. The draw-phase animation contract: a draw closure that advances its own spring or clock (a Cell no observation can see) must schedule the next frame’s re-record of ITS OWN node — a bare render invalidation only re-presents the retained scene, which would freeze the animation mid-flight. Callable only from inside a recording draw closure; anywhere else it degrades to a plain frame request.
request_exit
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Ask the platform to close the app.
request_focus_invalidation
Re-export the UI crate so applications can depend on a single crate. Requests a focus recomposition without affecting layout/draw dirties.
request_host_surface_size
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Asks the host for a different surface size.
request_layout_invalidation
Re-export the UI crate so applications can depend on a single crate. Requests a global layout re-run.
request_pointer_invalidation
Re-export the UI crate so applications can depend on a single crate. Requests a new pointer-input pass without touching layout or draw dirties.
request_render_invalidation
Re-export the UI crate so applications can depend on a single crate. Requests that the renderer rebuild the current scene.
reset_cursor_blink
Re-export the UI crate so applications can depend on a single crate. Resets cursor to visible and restarts the blink timer. Call this on any input (key press, paste) so cursor stays visible while typing.
resolve_content
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Resolves uri through the platform resolver, falling back to the local filesystem for file:// URIs and plain paths.
run_durable_saves
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Runs every registered durable save, waiting up to deadline.
run_test_composition
Re-export the UI crate so applications can depend on a single crate. Build a composition with a simple in-memory applier and run the provided closure once.
scale_sp
Re-export the UI crate so applications can depend on a single crate. A size in scale-independent pixels, in dp, through the running app’s curve.
schedule_draw_repass
Re-export the UI crate so applications can depend on a single crate. Schedules a draw-only repass for a specific node.
schedule_focus_invalidation
Re-export the UI crate so applications can depend on a single crate. Schedules a focus invalidation for the specified node.
schedule_layout_repass
Re-export the UI crate so applications can depend on a single crate. Schedules a layout repass for a specific node.
schedule_measure_repass
Re-export the UI crate so applications can depend on a single crate. Schedules a scoped re-measure of node_id on the next frame.
schedule_pointer_repass
Re-export the UI crate so applications can depend on a single crate. Schedules a pointer repass for the specified node.
schedule_semantics_invalidation
Re-export the UI crate so applications can depend on a single crate. Marks node_id’s semantics for re-collection on the next frame of the app context that is current.
scroll_delta_to_reveal
Re-export the UI crate so applications can depend on a single crate. The scroll-offset delta needed to bring caret fully inside the un-obscured part of viewport.
seek_media
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Moves the position within the open item.
seek_media_fraction
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Moves the position to a fraction of the item, which is what a seek bar has.
set_active_focus_target
Re-export the UI crate so applications can depend on a single crate. Sets the currently active focus target.
set_app_update_status
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Publishes state from a platform updater.
set_application_id
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Registers the id every framework-owned storage path is scoped by.
set_back_interception
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Declare whether the app currently wants the platform’s back control routed to push_back_request instead of the platform default. Set it true while there is in-app navigation to pop and false when leaving the app is the right response (mirrors Compose’s BackHandler(enabled)).
set_density
Re-export the UI crate so applications can depend on a single crate. Updates the current density scale factor.
set_font_scale
Re-export the UI crate so applications can depend on a single crate. Updates the system font scale, taking it as a plain multiplier.
set_font_scale_curve
Re-export the UI crate so applications can depend on a single crate. Updates the system font scale and the conversion behind it.
set_host_controller
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Installs the framework host controller.
set_keep_screen_on
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Enables or disables the host’s keep-screen-on flag.
set_media_analysis_enabled
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Starts or stops publishing MediaSamples. Returns false where the backend cannot produce them — see MediaCapabilities::analysis.
set_media_equalizer
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Applies an equalizer setting, clamped to what the platform’s bands can do.
set_media_looping
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Repeats the open item when it reaches its end.
set_media_metadata
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Updates the metadata shown by the platform media session for the open item.
set_media_speed
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Sets the playback rate, 1.0 being as recorded. Returns false where the backend has none — see MediaCapabilities::speed.
set_media_volume
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Sets the volume the application asks for, 1.0 being the item as recorded.
set_platform_app_info
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Installs a platform app-info implementation, replacing any previous one.
set_platform_app_updater
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Installs the platform updater.
set_platform_audio
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Installs a platform audio player, replacing any previous one.
set_platform_background_activity
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Installs the platform background-activity handler, replacing any previous one.
set_platform_bundled_assets
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Installs a platform bundled-assets reader.
set_platform_camera
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Installs the platform camera, replacing any previous one.
set_platform_content_resolver
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Installs the platform content resolver (Android’s ContentResolver, the iOS document store, the browser’s blob registry).
set_platform_device_info
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Installs a platform device-info implementation, replacing any previous one.
set_platform_file_picker
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Registers the platform-provided chooser (Android SAF / iOS UIDocumentPicker).
set_platform_haptics
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Installs a platform haptics implementation, replacing any previous one.
set_platform_host_surface
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Installs the platform host surface.
set_platform_image_picker
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Installs a platform image picker, replacing any previously installed one. The iOS backend registers a photo-library picker here.
set_platform_launch_args
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Installs the launch arguments reported by the platform, replacing any previous snapshot.
set_platform_media_player
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Installs the platform media player, replacing any previous one.
set_platform_media_source_opener
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Installs the platform media source opener, replacing any previous one.
set_platform_network_monitor
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Installs a platform network monitor, replacing any previous one.
set_platform_notifier
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate.
set_platform_power_monitor
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Installs the platform power monitor.
set_platform_preferences
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Installs the platform preferences backend, replacing any previous one.
set_platform_purchases
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate.
set_platform_share_sheet
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Installs a platform share sheet, replacing any previously installed one. Backends with main-thread UIKit / Activity access register here.
set_platform_system_theme
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Installs the platform-reported system theme. Platform backends call this at startup and whenever the OS reports a change (then force a root render so composition observes it).
set_platform_uri_handler
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Installs a platform URI handler, replacing any previously installed one.
set_text_measurer
Re-export the UI crate so applications can depend on a single crate.
set_writable_folder_store_factory
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Registers the platform store factory (Android, iOS). Called once at startup. No-op if already set.
sha256_hex
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. The SHA-256 of bytes, as lower-case hexadecimal.
slide_in_vertically
Re-export the UI crate so applications can depend on a single crate. Slides in the content vertically from initial_offset_fraction of its own height (negative values start above the resting position, mirroring Compose’s default of -fullHeight / 2).
slide_out_vertically
Re-export the UI crate so applications can depend on a single crate. Slides out the content vertically towards target_offset_fraction of its own height.
start_camera
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Starts the camera, publishing CameraState::Starting before the backend is asked so a screen shows the wait rather than a gap.
start_cursor_blink
Re-export the UI crate so applications can depend on a single crate. Starts the active context’s cursor blink animation. Called when a text field gains focus.
stop_camera
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Stops the camera and releases the device.
stop_cursor_blink
Re-export the UI crate so applications can depend on a single crate. Stops the active context’s cursor blink animation. Called when no text field is focused.
stop_media
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Stops, closes the item and releases the output device.
store_available
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Whether a real store backend is installed on this platform.
store_state
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Convenience: the current store snapshot.
system_font_directory
Where this platform keeps the font files a system family is drawn from, or None when there is no such directory to read.
take_back_requests
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Take (and clear) the number of pending back requests. Polled by the app; a burst collapses into a count the app can coalesce.
take_draw_repass_nodes
Re-export the UI crate so applications can depend on a single crate. Takes all pending draw repass node IDs.
take_exit_request
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Take (and clear) a pending exit request. Drained by the platform backend.
take_focus_invalidation
Re-export the UI crate so applications can depend on a single crate. Returns true if a focus invalidation was pending and clears the flag.
take_geometry_scene_nodes
Re-export the UI crate so applications can depend on a single crate. Takes the nodes whose geometry the last layout pass actually changed.
take_layout_invalidation
Re-export the UI crate so applications can depend on a single crate. Returns true if a layout invalidation was pending and clears the flag.
take_layout_repass_nodes
Re-export the UI crate so applications can depend on a single crate. Takes all pending layout repass node IDs.
take_measure_repass_nodes
Re-export the UI crate so applications can depend on a single crate. Takes all pending measure repass node IDs.
take_notification_deeplink
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Take (and clear) the deep-link payload of the most recently tapped notification, if any. Polled by the app’s deep-link handling.
take_pointer_invalidation
Re-export the UI crate so applications can depend on a single crate. Returns true if a pointer invalidation was pending and clears the flag.
take_render_invalidation
Re-export the UI crate so applications can depend on a single crate. Returns true if a render invalidation was pending and clears the flag.
thumb_geometry
Re-export the UI crate so applications can depend on a single crate. The thumb for a scroll position, or None when the content fits and there is nothing to indicate.
tick_cursor_blink
Re-export the UI crate so applications can depend on a single crate. Advances the cursor blink state if needed. Returns true if a redraw is needed. A transition schedules a scoped draw repass on the focused field, so the caller only has to run the ordinary dirty-node paths — no whole-scene work.
tile_count
Re-export the UI crate so applications can depend on a single crate. How many tiles tile_quads would produce, without building them.
tile_quads
Re-export the UI crate so applications can depend on a single crate. The draws that tile source across destination at the source’s own size.
toggle_media
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Pauses what is playing and plays what is paused — the one button a headset has, and the space bar.
tree_needs_layout
Re-export the UI crate so applications can depend on a single crate. Check if a node or any of its descendants needs measure (selective measure optimization). This can be used by the app shell to skip layout when the tree is clean.
tree_needs_semantics
Re-export the UI crate so applications can depend on a single crate. Check if the root semantics snapshot is dirty.
uri_for_path
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. The file: URI for a path, which is what MediaItem takes.
verify_package
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Checks a package held in memory against digest.
version_name
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. The version a user is shown, if the platform knows one.
window_insets
Re-export the UI crate so applications can depend on a single crate. Returns the framework-owned insets currently visible to the composition.
write_all
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Writes every byte of bytes into sink and commits it.

Type Aliases§

AppInfoRef
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate.
AppUpdaterRef
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Shared updater service.
AudioPlayerRef
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Shared handle to the installed AudioPlayer.
BackgroundActivityRef
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate.
BundledAssetsRef
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Shared bundled-assets service.
CameraRef
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Shared handle to the platform camera.
ContentFolderRef
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Shared handle to a ContentFolder.
ContentFuture
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. A future produced by a content operation. It borrows the content it reads from, so no implementation has to clone a handle into every call.
ContentHandle
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Shared handle to a Content.
ContentReaderRef
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Shared handle to a ContentReader.
ContentResolverRef
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Shared handle to a ContentResolver.
ContentSinkRef
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Shared handle to a ContentSink.
ContentStreamRef
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Shared handle to a ContentStream.
DeviceInfoRef
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate.
DragDeltaHandler
Re-export the UI crate so applications can depend on a single crate. What a DraggableState hands each drag delta to.
DrawCommandFn
Re-export the UI crate so applications can depend on a single crate. A draw command records into a scope the CONSUMER provides, instead of returning a freshly allocated primitive vector. This is the boundary that lets recording storage live with the command’s stable identity and be reused frame over frame (the retained draw-command recorder), rather than being reallocated, moved, and dropped on every execution.
FilePickerRef
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Shared handle to a FilePicker.
HapticsRef
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate.
HostControllerRef
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate.
HostSurfaceRef
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Shared handle to a HostSurface.
HttpBodyRef
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Shared handle to a response body.
HttpClientRef
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate.
HttpFuture
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate.
ImagePickerRef
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate.
Key
LaunchArgsRef
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Shared handle to a LaunchArgs snapshot.
LauncherResult
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. What a launcher hands back once the chooser resolves.
MediaPlayerRef
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Shared handle to the platform media player.
MediaSourceOpenerRef
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Shared handle to the platform media source opener.
NetworkMonitorRef
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate.
NotifierRef
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate.
PickerFuture
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. A 'static future returned by chooser operations, polled on the UI thread.
PowerMonitorRef
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Shared power-monitor service.
PreferencesRef
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Shared handle to a PreferencesStore.
ProgressHandler
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. What a progress report is handed to.
PurchasesRef
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Shared handle to the active Purchases backend.
ScrollSettlePolicy
Re-export the UI crate so applications can depend on a single crate. Remaps where a scroll comes to rest once the user’s interaction ends — the UIScrollView targetContentOffset analog. Receives the naturally proposed rest offset (the fling’s predicted end, or the current offset for a plain release/wheel idle) and the release velocity in offset units/sec; returns the offset the scroll should settle at. Used e.g. by the liquid nav bar to snap out of the large-title collapse band so the title never rests half-faded.
ShareSheetRef
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate.
SourceResolver
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Resolves a shared handle to its ByteSource, or None if not shared.
StubAnswer
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. What a StubHttpClient answers a request with.
TextPanResolver
Re-export the UI crate so applications can depend on a single crate. Resolver that recomputes (and stores) the horizontal pan offset for a text field given the current content viewport width in px.
UriHandlerRef
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate.
WritableFolderStoreRef
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Shared handle to a WritableFolderStore.

Attribute Macros§

composable
Re-export the UI crate so applications can depend on a single crate.