Skip to Content
API ReferenceRoutingSdkRouteSection

SdkRouteSection

class SdkRouteSection(var index: Int)

The sections will be a collection of steps that will be painted by the map at the same time. The sections also will be ordered by the order of the steps.

Constructors

SdkRouteSectionconstructor(index: Int )

Types

NameSummary
Companionobject Companion

Properties

floor

var floor: String

index

var index: Int

Index of the section in the route

pointsLatLng

var pointsLatLng: List<SdkLatLngDTO>

stepIndices

var stepIndices: List<Int>

steps

var steps: List<SdkStepRoute>

Types: SdkStepRoute

Functions

addStep

fun addStep(index: Int, step: SdkStepRoute)

Types: SdkStepRoute

Add a step to the section

containsStepIndex

fun containsStepIndex(targetIndex: Int): Boolean

Return true if the passed index is in this sections

Last updated on