AppearEvent

public struct AppearEvent<S> : Decodable, Hashable, Locatable where S : Decodable, S : Hashable

Information received about a willAppear or willDisappear event.

  • 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
  • Holds the name of the controller of the current action.

    Declaration

    Swift

    public let controller: ControllerType