AVAudioSession.SetInputDataSource Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Selects the specified dataSource.
[Foundation.Export("setInputDataSource:error:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual bool SetInputDataSource(AVFoundation.AVAudioSessionDataSourceDescription? dataSource, out Foundation.NSError outError);
[<Foundation.Export("setInputDataSource:error:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member SetInputDataSource : AVFoundation.AVAudioSessionDataSourceDescription * NSError -> bool
override this.SetInputDataSource : AVFoundation.AVAudioSessionDataSourceDescription * NSError -> bool
Parameters
- 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