Instance Property

virtualDeviceSwitchOverVideoZoomFactors

An array of video zoom factors at or above which a virtual device, such as the dual camera, may switch to its next constituent device.

Declaration

@property(nonatomic, readonly) NSArray<NSNumber *> *virtualDeviceSwitchOverVideoZoomFactors;

Discussion

This property contains zoom factors at which the field of view of one constituent device matches the full field of view of the next constituent device. The number of switched-over video zoom factors is always one fewer than the count of the constituentDevices property. These factors progress in the same order as the devices listed in that property.

The value of this property is an empty array for nonvirtual devices.

See Also

Managing Zoom Settings

videoZoomFactor

A value that controls the cropping and enlargement of images captured by the device.

minAvailableVideoZoomFactor

The minimum zoom factor allowed in the current capture configuration.

maxAvailableVideoZoomFactor

The maximum zoom factor allowed in the current capture configuration.

- rampToVideoZoomFactor:withRate:

Begins a smooth transition from the current zoom factor to another.

rampingVideoZoom

A Boolean value that indicates whether a zoom transition is in progress.

- cancelVideoZoomRamp

Smoothly ends a zoom transition in progress.

dualCameraSwitchOverVideoZoomFactor

The video zoom factor at which a dual camera device can automatically switch between cameras.

Deprecated