TriggersWhen

public enum TriggersWhen : String

Enum defines when the Trigger is fired based on StatePredicate

  • Always fires when the Condition is evaluated as true.

    Declaration

    Swift

    case CONDITION_TRUE = "CONDITION_TRUE"
  • Fires when previous State is evaluated as false and current State is evaluated as true.

    Declaration

    Swift

    case CONDITION_FALSE_TO_TRUE = "CONDITION_FALSE_TO_TRUE"
  • Fires when the previous State and current State is evaluated as different value. i.e. false to true, true to false.

    Declaration

    Swift

    case CONDITION_CHANGED = "CONDITION_CHANGED"