AVAudioPlayer.SetVolume(Single, Double) Method

Definition

[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

Parameters

volume
Single
duration
Double
Attributes

Applies to