fromUnrecognized

expect fun fromUnrecognized(source: Any): ElevationSource
actual fun fromUnrecognized(source: Any): ElevationSource
actual fun fromUnrecognized(source: Any): ElevationSource

Constructs an elevation source with a generic Any instance. The source may be any non-null object. This is equivalent to calling one of ElevationSource's type-specific factory methods when the source is a recognized type.

Return

the new elevation source

Parameters

source

the generic source

actual fun fromUnrecognized(source: Any): ElevationSource

Constructs an elevation source with a generic Any instance. The source may be any non-null object. This is equivalent to calling one of ElevationSource's type-specific factory methods when the source is a recognized type.

Return

the new elevation source

Parameters

source

the generic source