value class LocationButtonTextType


Represents the text that can be displayed on the LocationButton.

These values correspond to the text strings supported by android.app.permissionui.LocationButtonSession.

Summary

Public companion properties

LocationButtonTextType

The button displays the text as "Near my precise location".

LocationButtonTextType

The button displays the text as "Near your precise location".

LocationButtonTextType

The button displays no text.

LocationButtonTextType

The button displays the text as "Precise location".

LocationButtonTextType

The button displays the text as "Share precise location".

LocationButtonTextType

The button displays the text as "Use precise location".

Public properties

Int

Public companion properties

NearMyPreciseLocation

val NearMyPreciseLocation: LocationButtonTextType

The button displays the text as "Near my precise location".

NearYourPreciseLocation

val NearYourPreciseLocation: LocationButtonTextType

The button displays the text as "Near your precise location".

None

val None: LocationButtonTextType

The button displays no text.

PreciseLocation

val PreciseLocation: LocationButtonTextType

The button displays the text as "Precise location".

SharePreciseLocation

val SharePreciseLocation: LocationButtonTextType

The button displays the text as "Share precise location".

UsePreciseLocation

val UsePreciseLocation: LocationButtonTextType

The button displays the text as "Use precise location".

Public properties

value

Added in 1.0.0-alpha01
val value: Int