CLASS

Action

Contents

public class Action: Equatable

Possible actions a user or the client may choose to take to continue the flow. If only one action is available and the action does not require user input, a client can elect to follow it automatically.

Actions requiring user interaction may not be hidden or skipped by the client.

Properties

kind

public let kind: ActionKind

The kind of the action, which specializes its meaning, allowing clients that support a certain kind to provide an improved user experience.

title

public let title: Message?

The title of the action.

Methods

==(::)

public static func == (lhs: Action, rhs: Action) -> Bool

Parameters

Name Description
lhs A value to compare.
rhs Another value to compare.