LocationKt

Added in 1.1.0

public final class LocationKt


Summary

Public methods

static final double

Returns the latitude of this Location.

static final double

Returns the longitude of this Location.

Public methods

component1

public static final double component1(@NonNull Location receiver)

Returns the latitude of this Location.

This method allows to use destructuring declarations when working with Location, for example:

val (lat, lon) = myLocation

component2

public static final double component2(@NonNull Location receiver)

Returns the longitude of this Location.

This method allows to use destructuring declarations when working with Location, for example:

val (lat, lon) = myLocation