VisualAction

public struct VisualAction

A VisualAction describes a UI interaction with the user.

  • id

    An optional id

    Declaration

    Swift

    public let id: String?
  • The Visual Fields contained in the PresentVisualAction

    Declaration

    Swift

    public let items: [VisualItem]
  • Creates a present visual action from attributes.

    Attributes are expected include:

    • items an array of items.

    Declaration

    Swift

    public init?(id: String?, attributes: AnyObject?)

    Parameters

    id

    the List id

    attributes

    List attributes