Contents

AVCaptureDeviceDirectionMap

An object that groups the cameras a coordinator tracks by the direction they face.

Declaration

class AVCaptureDeviceDirectionMap

Mentioned in

Overview

You don’t create instances of AVCaptureDeviceDirectionMap directly. An AVCaptureDeviceDirectionCoordinator object creates a map for the view you give it, and passes an updated map to your change handler each time a camera changes direction.

A map groups the device types you gave the coordinator into two arrays, using the view as the point of reference. The forwardFacingDeviceDescriptors array describes the cameras that face the same direction as the view, toward the person looking at it. The backwardFacingDeviceDescriptors array describes the cameras that face the other way, toward the scene beyond it. Each array holds AVCaptureDeviceDescriptor values rather than capture devices.

Topics

Reading the camera directions

See Also

Camera facing direction