AVAudioSession.SetOutputDataSource 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 specific output dataSource
.
[Foundation.Export("setOutputDataSource:error:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual bool SetOutputDataSource (AVFoundation.AVAudioSessionDataSourceDescription dataSource, out Foundation.NSError outError);
abstract member SetOutputDataSource : AVFoundation.AVAudioSessionDataSourceDescription * -> bool
override this.SetOutputDataSource : AVFoundation.AVAudioSessionDataSourceDescription * -> 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