Compose Unstyled 2.0 is out! Check the official announcement blog ->
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>

Functions

storePendingIntent

public fun storePendingIntent(pendingIntent: PendingIntent): Int

Last updated: