Freigeben über


AVAudioSession.SetInputGain(Single, NSError) Methode

Definition

Fordert eine bestimmte Verstärkungsebene an.

[Foundation.Export("setInputGain:error:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual bool SetInputGain (float gain, out Foundation.NSError outError);
abstract member SetInputGain : single *  -> bool
override this.SetInputGain : single *  -> bool

Parameter

gain
Single
outError
NSError

Bei Einem Fehler enthält dies die Fehlerdetails.

Gibt zurück

true wenn die Anforderung erfolgreich war, enthält andernfalls der outError-Parameter eine Instanz von NSError, die das Problem beschreibt.

Attribute

Gilt für: