> Documentation index: https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/SearchableHomeTrait/llms.txt

    struct BasicCameraEventDetails

A basic camera event details struct.
- `


  ### [structField(id:)](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/SearchableHomeTrait/BasicCameraEventDetails.md.txt#/s:15GoogleHomeTypes0A0O010SearchableB5TraitV23BasicCameraEventDetailsV11structField2id0aB3SDK0K0_pSgs6UInt32V_tFZ)


  ` Returns the field corresponding to the given field ID.

  #### Declaration

  Swift

      static func structField(id: UInt32) -> (any Field)?

- `


  ### [sessionId](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/SearchableHomeTrait/BasicCameraEventDetails.md.txt#/s:15GoogleHomeTypes0A0O010SearchableB5TraitV23BasicCameraEventDetailsV9sessionIdSSSgvp)


  ` The session ID of the camera event.

  #### Declaration

  Swift

      let sessionId: String?

- `


  ### [entityObjectId](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/SearchableHomeTrait/BasicCameraEventDetails.md.txt#/s:15GoogleHomeTypes0A0O010SearchableB5TraitV23BasicCameraEventDetailsV14entityObjectIdSSSgvp)


  ` The ID of the camera that recorded the event.

  #### Declaration

  Swift

      let entityObjectId: String?

- `


  ### [startTime](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/SearchableHomeTrait/BasicCameraEventDetails.md.txt#/s:15GoogleHomeTypes0A0O010SearchableB5TraitV23BasicCameraEventDetailsV9startTime10Foundation4DateVSgvp)


  ` The start time of the camera event.

  #### Declaration

  Swift

      let startTime: Date?

- `


  ### [endTime](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/SearchableHomeTrait/BasicCameraEventDetails.md.txt#/s:15GoogleHomeTypes0A0O010SearchableB5TraitV23BasicCameraEventDetailsV7endTime10Foundation4DateVSgvp)


  ` The end time of the camera event.

  #### Declaration

  Swift

      let endTime: Date?

- `


  ### [previewUrl](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/SearchableHomeTrait/BasicCameraEventDetails.md.txt#/s:15GoogleHomeTypes0A0O010SearchableB5TraitV23BasicCameraEventDetailsV10previewUrlSSSgvp)


  ` The preview URL of the camera event.

  #### Declaration

  Swift

      let previewUrl: String?

- `


  ### [thumbnailUrl](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/SearchableHomeTrait/BasicCameraEventDetails.md.txt#/s:15GoogleHomeTypes0A0O010SearchableB5TraitV23BasicCameraEventDetailsV12thumbnailUrlSSSgvp)


  ` The thumbnail URL of the camera event.

  #### Declaration

  Swift

      let thumbnailUrl: String?

- `


  ### [shortCaption](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/SearchableHomeTrait/BasicCameraEventDetails.md.txt#/s:15GoogleHomeTypes0A0O010SearchableB5TraitV23BasicCameraEventDetailsV12shortCaptionSSSgvp)


  ` The short caption of the camera event.

  #### Declaration

  Swift

      let shortCaption: String?

- `


  ### [eventTypesArray](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/SearchableHomeTrait/BasicCameraEventDetails.md.txt#/s:15GoogleHomeTypes0A0O010SearchableB5TraitV23BasicCameraEventDetailsV05eventC5ArraySayAE0H4TypeOGSgvp)


  ` The list of event types detected for the camera event.

  #### Declaration

  Swift

      let eventTypesArray: [Google.SearchableHomeTrait.EventType]?

- `


  ### [init(decoder:)](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/SearchableHomeTrait/BasicCameraEventDetails.md.txt#/s:15GoogleHomeTypes0A0O010SearchableB5TraitV23BasicCameraEventDetailsV7decoderAG0aB3SDK0E7DecoderV_tKcfc)


  ` Creates a new Struct instance using data read from the given `TraitDecoder`.
  Throws
  `HomeError.parseError` when parsing fails.

  #### Declaration

  Swift

      init(decoder: TraitDecoder) throws

  #### Parameters

  |---|---|
  | ` decoder ` | The raw data representing this Struct. |

- `


  ### [encode(with:)](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/SearchableHomeTrait/BasicCameraEventDetails.md.txt#/s:15GoogleHomeTypes0A0O010SearchableB5TraitV23BasicCameraEventDetailsV6encode4withy0aB3SDK0E7EncoderC_tKF)


  ` Writes this Struct to the given `TraitEncoder`.
  Throws `HomeError.parseError` if the data could not be encoded.

  #### Declaration

  Swift

      func encode(with encoder: TraitEncoder) throws