LocationAccuracy

Accuracy levels for LocationRequest, which are mapped to platform accuracy and power levels.

The recommended level for actively displaying the user location on screen is High or Balanced, if the location doesn't have to be perfectly accurate.

Entries

Link copied to clipboard

Request the highest possible accuracy and accept high power usage.

Link copied to clipboard

Request very high accuracy and accept high power usage.

Link copied to clipboard

Request a balance of accuracy and power usage.

Link copied to clipboard

Request a rough location with low power usage.

Link copied to clipboard

Request any location with the lowest possible power usage.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
expect val name: String
Link copied to clipboard
expect val ordinal: Int

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.