Język

LocationButtonRequest.TextType Property

Definition

Returns the text type displayed on the button.

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

Property Value

Value is one of the following: 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

Attributes

Remarks

Returns the text type displayed on the button.

Android reference for android.app.permissionui.LocationButtonRequest.getTextType.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to