ILocationButtonSession.SetTextType(Int32) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
設定文字顯示在按鈕上。
[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 所創建與分享的作品,並依授權條款所描述的使用進行修改。