AVAudioPlayer.ChannelAssignments 属性

定义

音频播放器的通道说明。

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual AVFoundation.AVAudioSessionChannelDescription[] ChannelAssignments { [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)] [Foundation.Export("channelAssignments", ObjCRuntime.ArgumentSemantic.Copy)] get; [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)] [Foundation.Export("setChannelAssignments:", ObjCRuntime.ArgumentSemantic.Copy)] set; }
member this.ChannelAssignments : AVFoundation.AVAudioSessionChannelDescription[] with get, set

属性值

此属性的默认值为 null

此值可为 null

属性

注解

如果已分配,数组 AVAudioSessionChannelDescription 的大小必须与 相同 NumberOfChannels

适用于