Payload

public struct Payload : Decodable, Locatable

Container for the settings data.

  • This json object contains data that you can set and are stored persistently.

    Declaration

    Swift

    public let settings: S
  • The coordinates of the action triggered.

    Declaration

    Swift

    public let coordinates: Coordinates?
  • This is a parameter that is only set when the action has multiple states defined in its manifest.json.

    The 0-based value contains the current state of the action.

    Declaration

    Swift

    public let state: Int?
  • Boolean indicating if the action is inside a Multi Action.

    Declaration

    Swift

    public let isInMultiAction: Bool