Поделиться через


AVAudioPlayer.SetVolume(Single, Double) Метод

Определение

[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

Параметры

volume
Single
duration
Double
Атрибуты

Применяется к