LocationButtonClickResult
data class LocationButtonClickResult(val success: Boolean, val location: LzLocation? = null, val error: String? = null)Result of a location button click operation.
This class provides information about the result of clicking the current location button, allowing clients to display custom messages or handle the result appropriately.
Constructors
LocationButtonClickResult | constructor(success: Boolean , location: LzLocation? = null, error: String ? = null) |
Properties
error
val error: String? = nullError message if the operation failed (null if operation succeeded)
location
val location: LzLocation? = nullTypes: LzLocation
The location that was used to center the map (null if operation failed)
success
val success: BooleanWhether the location was successfully obtained and the map was centered
Last updated on