Kaluga
      Target filter
Search in API
Skip to content
    Kaluga
location/com.splendo.kaluga.location/unknownLocationOf

unknownLocationOf

fun Location.unknownLocationOf(reason: Location.UnknownLocation.Reason): Location.UnknownLocation

Converts a Location into a Location.UnknownLocation given a Location.UnknownLocation.Reason

Return

the Location.UnknownLocation with reason. If the Location this method had a Location.KnownLocation, this will return Location.UnknownLocation.WithLastLocation, otherwise Location.UnknownLocation.WithoutLastLocation

Parameters

reason

the Location.UnknownLocation.Reason the Location became unknown

Generated by Dokka
© 2026 Copyright