語言

VolumeShaper.Close 方法

定義

釋放 VolumeShaper 物件;關閉後,任何因體積 VolumeShaper 尺度而產生的音量會被移除。

[Android.Runtime.Register("close", "()V", "", ApiSince=26)]
public void Close();
[<Android.Runtime.Register("close", "()V", "", ApiSince=26)>]
abstract member Close : unit -> unit
override this.Close : unit -> unit

實作

屬性

備註

釋放 VolumeShaper 物件;關閉後,任何因體積 VolumeShaper 尺度而產生的音量會被移除。

如果成交(或最終結算)時 VolumeShaper 成交量未達到1.f,可能會出現成交量的突然變化。

close() 可在先驗 close()後安全稱為 。 此類別實作 Java AutoClosable 介面,並可搭配 try-with-resources 使用。

Java 文件 android.media.VolumeShaper.close()。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於