共用方式為


AVAudioSession.SetPreferredInputNumberOfChannels(nint, NSError) 方法

定義

[Foundation.Export("setPreferredInputNumberOfChannels:error:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual bool SetPreferredInputNumberOfChannels (nint count, out Foundation.NSError outError);
abstract member SetPreferredInputNumberOfChannels : nint *  -> bool
override this.SetPreferredInputNumberOfChannels : nint *  -> bool

參數

count
System.System.IntPtr System.nativeint
outError
NSError

傳回

屬性

適用於