androidx.compose.remote.creation.compose.action

Interfaces

Action

A RemoteCompose frontend model of Actions that can be converted to either RemoteCompose operations or a ComposeUI lambda.

Classes

CombinedAction

Creates an action that's a composite of multiple actions.

Composables

pendingIntentAction

Create a PendingIntentAction to send the PendingIntent when invoked.

Top-level functions summary

Action
<T : Any?> ValueChange(
    remoteState: MutableRemoteState<T>,
    updatedValue: RemoteState<T>
)

Creates an Action that updates the value of a MutableRemoteState to a new RemoteState.

Top-level functions

fun <T : Any?> ValueChange(
    remoteState: MutableRemoteState<T>,
    updatedValue: RemoteState<T>
): Action

Creates an Action that updates the value of a MutableRemoteState to a new RemoteState.

Parameters
remoteState: MutableRemoteState<T>

The mutable remote state to be updated.

updatedValue: RemoteState<T>

The new remote state value to apply.

Returns
Action

An Action representing the value change.