copy

fun copy(    position: GeoPoint = this.position,     accuracy: Distance? = this.accuracy,     course: Angle? = this.course,     speed: Speed? = this.speed,     altitude: Distance? = this.altitude,     time: Long = this.time,     elapsedRealtimeNanos: Long = this.elapsedRealtimeNanos,     provider: String = this.provider,     providerType: LocationProviderType = this.providerType,     extras: Bundle? = this.extras): GeoLocation

Deprecated

This will be removed from future releases after 2025-03-31.

Replace with

GeoLocation(position, accuracy, course, speed, altitude, time, elapsedRealtimeNanos, provider, providerType, extras)