AVAudioSession.SetInputDataSource Metodo

Definizione

Seleziona l'oggetto specificato 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

Parametri

dataSource
AVAudioSessionDataSourceDescription

Da aggiungere.

Questo parametro può essere null.

outError
NSError

In caso di errore, contiene i dettagli dell'errore.

Restituisce

true se la richiesta ha esito positivo, in caso contrario, il parametro outError contiene un'istanza di NSError che descrive il problema.

Attributi

Si applica a