語言

ILocationButtonSession.SetTextType(Int32) 方法

定義

設定文字顯示在按鈕上。

[Android.Runtime.Register("setTextType", "(I)V", "GetSetTextType_IHandler:Android.App.PermissionUI.ILocationButtonSessionInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=37)]
public void SetTextType(int textType);
[<Android.Runtime.Register("setTextType", "(I)V", "GetSetTextType_IHandler:Android.App.PermissionUI.ILocationButtonSessionInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=37)>]
abstract member SetTextType : int -> unit

參數

textType
Int32

按鈕文字的文字類型。

屬性

備註

設定文字顯示在按鈕上。

請參見 LocationButtonRequest.Builder.setTextType(int) 以了解輸入限制。

Android 參考資料。android.app.permissionui.LocationButtonSession.setTextType

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

適用於