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

@NonNull
public static final double LocationKt.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

LocationKt.component2

@NonNull
public static final double LocationKt.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