sdk-routing / com.tomtom.online.sdk.routing.data / InstructionGroup

InstructionGroup

open class InstructionGroup : Serializable

This groups a sequence of instruction elements which are related to each other.

Constructors

<init>

InstructionGroup()

Empty constructor for the InstructionGroup.

InstructionGroup(firstInstructionIndex: Int, lastInstructionIndex: Int, groupMessage: String!, groupLengthInMeters: Int)

Default constructor for the InstructionGroup.

Properties

firstInstructionIndex

var firstInstructionIndex: Int

The bottom sequence range constraint.

groupLengthInMeters

var groupLengthInMeters: Int

The length of the grouped instructions in meters.

groupMessage

var groupMessage: String!

The summary message returned when available.

lastInstructionIndex

var lastInstructionIndex: Int

The top sequence range constraint.

Functions

getFirstInstructionIndex

open fun getFirstInstructionIndex(): Int

Returns the bottom sequence range constraint.

getGroupLengthInMeters

open fun getGroupLengthInMeters(): Int

Returns the length of the grouped instructions in meters.

getGroupMessage

open fun getGroupMessage(): String!

Returns the summary message returned when available.

getLastInstructionIndex

open fun getLastInstructionIndex(): Int

Returns the top sequence range constraint.

toString

open fun toString(): String