EffectIdentifierEnum

enum EffectIdentifierEnum

The effect to use for an identification state or triggered effect.

  • A blinking effect, such as a light turned on and off once.

    Declaration

    Swift

    case blink
  • A breathing effect, such as slowly turning a light on and off over 1 second, repeated multiple times.

    Declaration

    Swift

    case breathe
  • An effect that indicates an okay state, such as a light turning green for a second.

    Declaration

    Swift

    case okay
  • An effect that indicates a channel changes, such as a light turning orange for 8 seconds.

    Declaration

    Swift

    case channelChange
  • The current effect sequence is completed before terminating. A sequence is a single repetition of the effect, such as a single blink or breathe.

    Declaration

    Swift

    case finishEffect
  • The effect is terminated as soon as possible.

    Declaration

    Swift

    case stopEffect
  • Creates a new instance with the specified raw value.

    If there is no value of the type that corresponds with the specified raw value, this initializer returns nil. For example:

    enum PaperSize: String {
        case A4, A5, Letter, Legal
    }
    
    print(PaperSize(rawValue: "Legal"))
    // Prints "Optional("PaperSize.Legal")"
    
    print(PaperSize(rawValue: "Tabloid"))
    // Prints "nil"
    

    Declaration

    Swift

    init?(rawValue: UInt64)

    Parameters

    rawValue

    The raw value to use for the new instance.