LocationKt

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

LocationKt.component1

public static final double LocationKt.component1(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

LocationKt.component2

public static final double LocationKt.component2(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