LocationButtonSessionTextType Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies the text choice for a location button.
public enum LocationButtonSessionTextType
type LocationButtonSessionTextType =
- Inheritance
-
LocationButtonSessionTextType
Fields
| Name | Value | Description |
|---|---|---|
| None | 0 | The button displays no text. Android reference for 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. |
| PreciseLocation | 1 | The button displays the text as "Precise location". Android reference for 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. |
| UsePreciseLocation | 2 | The button displays the text as "Use precise location". Android reference for 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. |
| SharePreciseLocation | 3 | The button displays the text as "Share precise location". 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. |
| NearMyPreciseLocation | 4 | The button displays the text as "Near my precise location". 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. |
| NearYourPreciseLocation | 5 | The button displays the text as "Near your precise location". 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. |
Remarks
The members correspond to the TEXT_TYPE_ constants on Android's LocationButtonSession interface. None selects a button without text; the other members select the indicated location text.