AvailableAction
public struct AvailableAction : Equatable, Sendable
A derived, non-persisted action the user could take against a data holder.
-
Declaration
Swift
public let intent: ActionIntent -
Populated when
intentis.other.Declaration
Swift
public let additionalInfo: String? -
Declaration
Swift
public let fulfilmentMethod: ActionFulfilmentMethod -
Declaration
Swift
public let origin: ActionOrigin -
Short presentation hint for the action’s title.
Declaration
Swift
public let title: String? -
Short presentation hint describing the action.
Declaration
Swift
public let description: String? -
Lifecycle status of the most recent, non-superseded persisted action for this intent on the data holder.
nilwhen the user has never initiated this action, distinguishing “not yet started” (nil) from “in progress” or “completed”.Declaration
Swift
public let status: ActionStatus? -
Declaration
Swift
public init( intent: ActionIntent, additionalInfo: String?, fulfilmentMethod: ActionFulfilmentMethod, origin: ActionOrigin, title: String?, description: String?, status: ActionStatus? )
AvailableAction Structure Reference