enum EventTypeThe type of event detected in the camera recording.
-
Unknown event.
Declaration
Swift
case eventTypeUnknown -
Motion detected.
Declaration
Swift
case eventTypeMotion -
Person detected.
Declaration
Swift
case eventTypePerson -
Doorbell pressed.
Declaration
Swift
case eventTypeDoorbell -
Package delivered.
Declaration
Swift
case eventTypePackageDelivered -
Package retrieved.
Declaration
Swift
case eventTypePackageRetrieved -
Package in transit.
Declaration
Swift
case eventTypePackageInTransit -
Animal detected.
Declaration
Swift
case eventTypeAnimal -
Vehicle detected.
Declaration
Swift
case eventTypeVehicle -
Smoke alarm detected.
Declaration
Swift
case eventTypeSmokeAlarm -
CO alarm detected.
Declaration
Swift
case eventTypeCoAlarm -
Dog bark detected.
Declaration
Swift
case eventTypeDogBark -
Person talking detected.
Declaration
Swift
case eventTypePersonTalking -
Glass break detected.
Declaration
Swift
case eventTypeGlassBreak -
Garage door opened.
Declaration
Swift
case eventTypeGarageDoorOpened -
Garage door closed.
Declaration
Swift
case eventTypeGarageDoorClosed -
Sound detected.
Declaration
Swift
case eventTypeSound -
Security alarm detected.
Declaration
Swift
case eventTypeSecurityAlarm -
Recording of a smoke alarm.
Declaration
Swift
case eventTypeRecordingSmokeAlarm -
Recording of a CO alarm.
Declaration
Swift
case eventTypeRecordingCoAlarm -
Familiar face detected.
Declaration
Swift
case eventTypeFamiliarFace -
Unfamiliar face detected.
Declaration
Swift
case eventTypeUnfamiliarFace -
Siren detected.
Declaration
Swift
case eventTypeSiren -
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
rawValueThe raw value to use for the new instance.