語言

LocationButtonRequest.TextType 屬性

定義

回傳按鈕上顯示的文字類型。

public int TextType { [Android.Runtime.Register("getTextType", "()I", "", ApiSince=37)] get; }
[<get: Android.Runtime.Register("getTextType", "()I", "", ApiSince=37)>]
member this.TextType : int

屬性值

價值屬於以下之一:LocationButtonSession.TEXT_TYPE_NONE;LocationButtonSession.TEXT_TYPE_PRECISE_LOCATION;LocationButtonSession.TEXT_TYPE_USE_PRECISE_LOCATION;LocationButtonSession.TEXT_TYPE_SHARE_PRECISE_LOCATION;LocationButtonSession.TEXT_TYPE_NEAR_MY_PRECISE_LOCATION;LocationButtonSession.TEXT_TYPE_NEAR_YOUR_PRECISE_LOCATION

屬性

備註

回傳按鈕上顯示的文字類型。

Android 參考資料。android.app.permissionui.LocationButtonRequest.getTextType

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

適用於