addGeotag

open fun addGeotag(@NonNull payload: Map<String, out Any>): GeotagResult

Convenience alias to addGeotag with null expected location.


open fun addGeotag(@NonNull payload: Map<String, out Any>, @Nullable expected: Location): GeotagResult

Creates geotag with configurable payload. Please, bear in mind that this will be serialized as json so passing in recursive data structure could lead to unpredictable results.

Return

Object holding deviation distance or the reason why it can't be computed.

See also

Parameters

payload

key-value pairs.

expected

location where the geotagging action is supposed to happen.