Share via


AVAudioSessionDataSourceDescription.Orientation 属性

定义

指示设备上数据源的方向。

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

属性值

的 Orientation 属性中的 AVAudioSession常量之一 (OrientationTop、OrientationBotton、OrientationFront、OrientationBack、OrientationLeft、OrientationRight) 。

此值可为 null

注解

数据源可以向上、向下、指向用户、远离用户、向左或向右。

适用于