編集

次の方法で共有


AVAudioSession.SetInputDataSource Method

Definition

Selects the specified dataSource.

[Foundation.Export("setInputDataSource:error:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual bool SetInputDataSource (AVFoundation.AVAudioSessionDataSourceDescription dataSource, out Foundation.NSError outError);
abstract member SetInputDataSource : AVFoundation.AVAudioSessionDataSourceDescription *  -> bool
override this.SetInputDataSource : AVFoundation.AVAudioSessionDataSourceDescription *  -> bool

Parameters

dataSource
AVAudioSessionDataSourceDescription

To be added.

This parameter can be null.

outError
NSError

On failure, this contains the error details.

Returns

true if the request was successful, otherwise the outError parameter contains an instance of NSError describing the problem.

Attributes

Applies to