---
title: videoZoomChanged
framework: avfoundation
role: symbol
role_heading: Type Property
path: avfoundation/avcapturedevice/primaryconstituentdevicerestrictedswitchingbehaviorconditions-swift.struct/videozoomchanged
---

# videoZoomChanged

Restrict switching to a fallback camera only when the device’s video zoom changes.

## Declaration

```swift
static var videoZoomChanged: AVCaptureDevice.PrimaryConstituentDeviceRestrictedSwitchingBehaviorConditions { get }
```

## Discussion

Discussion This condition switches cameras when the video zoom factor changes, either by setting a value for the device’s videoZoomFactor property or calling its ramp(toVideoZoomFactor:withRate:) method. note: All changes to video zoom factor allow switching to a fallback camera, not only those changes across switch-over zoom factors.

## See Also

### Switching behavior conditions

- [exposureModeChanged](avfoundation/avcapturedevice/primaryconstituentdevicerestrictedswitchingbehaviorconditions-swift.struct/exposuremodechanged.md)
- [focusModeChanged](avfoundation/avcapturedevice/primaryconstituentdevicerestrictedswitchingbehaviorconditions-swift.struct/focusmodechanged.md)
