EventTriggerTypeEnum

enum EventTriggerTypeEnum

All possible event triggers that could be supported.

  • Motion detected.

    Declaration

    Swift

    case motion
  • A person was detected.

    Declaration

    Swift

    case personDetected
  • A vehicle was detected.

    Declaration

    Swift

    case vehicleDetected
  • An animal was detected.

    Declaration

    Swift

    case animalDetected
  • A package was detected.

    Declaration

    Swift

    case packageDetected
  • Sound detected.

    Declaration

    Swift

    case sound
  • A person is talking.

    Declaration

    Swift

    case personTalking
  • A dog bark was detected.

    Declaration

    Swift

    case dogBark
  • Glass breaking sound detected.

    Declaration

    Swift

    case glassBreak
  • Smoke alarm sound detected.

    Declaration

    Swift

    case smokeAlarm
  • Carbon monoxide alarm sound detected.

    Declaration

    Swift

    case coAlarm
  • A package was delivered.

    Declaration

    Swift

    case packageDelivered
  • A package was retrieved.

    Declaration

    Swift

    case packageRetrieved
  • An event related to a garage door, for example, open or close.

    Declaration

    Swift

    case garageDoor
  • Used for generating a description of the video.

    Declaration

    Swift

    case videoAnalysisDescription
  • Used for face identification.

    Declaration

    Swift

    case face
  • 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.