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
public val pendingIntents: IntObjectMap<PendingIntent>
An IntObjectMap of PendingIntents collected during document capture, indexed by their action IDs.
lambdas
public val lambdas: IntObjectMap<() -> Unit>
Functions
storePendingIntent
public fun storePendingIntent(pendingIntent: PendingIntent): Int