MapboxRouteCalloutApiOptions

class MapboxRouteCalloutApiOptions

Options for configuration of MapboxRouteCalloutApi.

Parameters

routeCalloutType

defines the possible callout type on the route lines

similarDurationDelta

defines the delta between primary and alternative durations to consider their ETA similar

Types

Link copied to clipboard
class Builder

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean

Indicates whether some other object is "equal to" this one.

Link copied to clipboard
open override fun hashCode(): Int

Returns a hash code value for the object.

Link copied to clipboard
fun toBuilder(): MapboxRouteCalloutApiOptions.Builder

Get a builder to customize a subset of current options.

Link copied to clipboard
open override fun toString(): String

Returns a string representation of the object.

Properties

Link copied to clipboard
val routeCalloutType: RouteCalloutType
Link copied to clipboard
val similarDurationDelta: Duration