LocationAvailability


class LocationAvailability : Availability


Availability of a DataType.LOCATION data type.

Summary

Public companion functions

LocationAvailability?
fromId(id: Int)

Public companion properties

LocationAvailability

Acquired location through connected phone.

LocationAvailability

Acquired location through watch.

LocationAvailability

Acquiring location.

LocationAvailability

The on-device location service is disabled, so location cannot be acquired.

LocationAvailability

Location is not available.

LocationAvailability

The availability is unknown, or is represented by a value too new for this library version to parse.

Public functions

open operator Boolean
equals(other: Any?)
open Int
open String

Public properties

open Int
String

Public companion functions

fromId

Added in 1.0.0
fun fromId(id: Int): LocationAvailability?

Public companion properties

ACQUIRED_TETHERED

val ACQUIRED_TETHEREDLocationAvailability

Acquired location through connected phone.

ACQUIRED_UNTETHERED

val ACQUIRED_UNTETHEREDLocationAvailability

Acquired location through watch.

ACQUIRING

val ACQUIRINGLocationAvailability

Acquiring location.

NO_GNSS

val NO_GNSSLocationAvailability

The on-device location service is disabled, so location cannot be acquired.

UNAVAILABLE

val UNAVAILABLELocationAvailability

Location is not available.

UNKNOWN

val UNKNOWNLocationAvailability

The availability is unknown, or is represented by a value too new for this library version to parse.

Public functions

equals

open operator fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

toString

open fun toString(): String

Public properties

id

Added in 1.1.0-alpha04
open val idInt

name

Added in 1.0.0
val nameString