다음을 통해 공유


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
특성

적용 대상