struct BasicCameraEventDetailsA basic camera event details struct.
-
Returns the field corresponding to the given field ID.
Declaration
Swift
static func structField(id: UInt32) -> (any Field)? -
The session ID of the camera event.
Declaration
Swift
let sessionId: String? -
The ID of the camera that recorded the event.
Declaration
Swift
let entityObjectId: String? -
The start time of the camera event.
Declaration
Swift
let startTime: Date? -
The end time of the camera event.
Declaration
Swift
let endTime: Date? -
The preview URL of the camera event.
Declaration
Swift
let previewUrl: String? -
The thumbnail URL of the camera event.
Declaration
Swift
let thumbnailUrl: String? -
The short caption of the camera event.
Declaration
Swift
let shortCaption: String? -
The list of event types detected for the camera event.
Declaration
Swift
let eventTypesArray: [Google.SearchableHomeTrait.EventType]? -
Creates a new Struct instance using data read from the given
TraitDecoder.Throws
HomeError.parseErrorwhen parsing fails.Declaration
Swift
init(decoder: TraitDecoder) throwsParameters
decoderThe raw data representing this Struct.
-
Writes this Struct to the given
TraitEncoder. ThrowsHomeError.parseErrorif the data could not be encoded.Declaration
Swift
func encode(with encoder: TraitEncoder) throws