Data Source Orientations

These values indicate the directions in which a data source can point, relative to the device’s natural orientation.

Topics

Constants

static let orientationTop: AVAudioSession.Location

A data source that points upward.

static let orientationFront: AVAudioSession.Location

A data source that points outward from the front of the device, toward the user.

static let orientationBack: AVAudioSession.Location

A data source that points outward from the back of the device, away from the user.

static let orientationLeft: AVAudioSession.Location

A data source that points outward to the left of the device, away from the user.

static let orientationRight: AVAudioSession.Location

A data source that points outward to the right of the device, away from the user.