語言

Toolbar.SetNavigationContentDescription(Int32) 方法

定義

如果有導航按鈕,請設定內容描述。

[Android.Runtime.Register("setNavigationContentDescription", "(I)V", "GetSetNavigationContentDescription_IHandler")]
public virtual void SetNavigationContentDescription(int resId);
[<Android.Runtime.Register("setNavigationContentDescription", "(I)V", "GetSetNavigationContentDescription_IHandler")>]
abstract member SetNavigationContentDescription : int -> unit
override this.SetNavigationContentDescription : int -> unit

參數

resId
Int32

要設定內容描述字串的資源 ID,或是清除描述的 0

屬性

備註

如果有導航按鈕,請設定內容描述。 內容說明將透過螢幕閱讀器或其他無障礙系統閱讀,以說明導航按鈕的操作。

Java 文件 android.widget.Toolbar.setNavigationContentDescription(int)。

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

適用於