Class

WriterEvents

A callback interface used during the capture process to write out the captured composable information.

Source set: Android
public class WriterEvents

A callback interface used during the capture process to write out the captured composable information. This allows the capture system to pass on types that can't be serialized into the document such as PendingIntent.

Implementations of this interface will handle the serialization or transformation of the captured composable tree into a desired output format, such as a binary file, a JSON representation, or a network stream.

Properties

pendingIntents

Source set: Android
public val pendingIntents: IntObjectMap<PendingIntent>

An IntObjectMap of PendingIntents collected during document capture, indexed by their action IDs.

lambdas

Source set: Android
public val lambdas: IntObjectMap<() -> Unit>

Functions

storePendingIntent

Source set: Android
public fun storePendingIntent(pendingIntent: PendingIntent): Int
Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: