Composables UI is out: our new component library for Compose Multiplatform ->
Composable Function

pendingIntentAction

Creates an Action that triggers a PendingIntent.

pendingIntentAction

Source set: Android
@Composable
public fun pendingIntentAction(pendingIntent: (Context) -> PendingIntent): Action

Creates an Action that triggers a PendingIntent.

Parameters

pendingIntent A lambda that returns the PendingIntent to trigger. The Context is provided to the lambda to ensure it's available during serialization.

Last updated: