Partager via


AVAudioPlayer.SetVolume(Single, Double) Méthode

Définition

[Foundation.Export("setVolume:fadeDuration:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 12, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void SetVolume (float volume, double duration);
abstract member SetVolume : single * double -> unit
override this.SetVolume : single * double -> unit

Paramètres

volume
Single
duration
Double
Attributs

S’applique à