Edytuj

Udostępnij za pośrednictwem


AVAudioSessionDataSourceDescription.Orientation Property

Definition

Indicates the orientation of the data source on the device.

public AVFoundation.AVAudioDataSourceOrientation Orientation { get; }
member this.Orientation : AVFoundation.AVAudioDataSourceOrientation

Property Value

One of the constants in AVAudioSession’s Orientation properties (OrientationTop, OrientationBotton, OrientationFront, OrientationBack, OrientationLeft, OrientationRight).

This value can be null.

Remarks

The data source can be pointing upwards, downwards, towards the user, away from the user, left or right.

Applies to