---
title: ambientViewingEnvironment
framework: corevideo
role: symbol
role_heading: Type Property
path: corevideo/cvimagebufferattachmentkeydefinitions/ambientviewingenvironment
---

# ambientViewingEnvironment

The ambient viewing environment for the image. The value for this key is an 8 byte big-endian data sequence to match the payload of the Ambient Viewing Environment SEI message.

## Declaration

```swift
static var ambientViewingEnvironment: CVAttachmentKeyDefinition<Self.ShouldPropagate, Data> { get }
```
