pendingIntentAction

Functions summary

Action

Creates an Action that triggers a PendingIntent.

Functions

@Composable
fun pendingIntentAction(pendingIntent: (Context) -> PendingIntent): Action

Creates an Action that triggers a PendingIntent.

Parameters
pendingIntent: (Context) -> PendingIntent

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