共用方式為


AudioFocusRequestClass.Builder.SetWillPauseWhenDucked(Boolean) 方法

定義

[Android.Runtime.Register("setWillPauseWhenDucked", "(Z)Landroid/media/AudioFocusRequest$Builder;", "", ApiSince=26)]
public Android.Media.AudioFocusRequestClass.Builder SetWillPauseWhenDucked (bool pauseOnDuck);
[<Android.Runtime.Register("setWillPauseWhenDucked", "(Z)Landroid/media/AudioFocusRequest$Builder;", "", ApiSince=26)>]
member this.SetWillPauseWhenDucked : bool -> Android.Media.AudioFocusRequestClass.Builder

參數

pauseOnDuck
Boolean

傳回

屬性

備註

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於