AvailableAction

data class AvailableAction(val intent: ActionIntent, val additionalInfo: String? = null, val fulfilmentMethod: ActionFulfilmentMethod, val origin: ActionOrigin, val title: String? = null, val description: String? = null, val status: ActionStatus? = null) : Parcelable

The Sudo Platform SDK representation of a derived, non-persisted action the user could take against a data holder.

Constructors

Link copied to clipboard
constructor(intent: ActionIntent, additionalInfo: String? = null, fulfilmentMethod: ActionFulfilmentMethod, origin: ActionOrigin, title: String? = null, description: String? = null, status: ActionStatus? = null)

Properties

Link copied to clipboard
val additionalInfo: String? = null

String Additional info, populated when intent is ActionIntent.OTHER.

Link copied to clipboard
val description: String? = null

String Short presentation hint describing the action.

Link copied to clipboard
Link copied to clipboard

ActionIntent The user-facing intent of the action.

Link copied to clipboard

ActionOrigin Which source contributed this action.

Link copied to clipboard
val status: ActionStatus? = null

ActionStatus Lifecycle status of the most recent, non-superseded persisted action for this intent on the data holder. null when the user has never initiated this action, distinguishing "not yet started" (null) from "in progress" or "completed".

Link copied to clipboard
val title: String? = null

String Short presentation hint for the action's title.

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)