Instruction

Class containing all the information connected with a single instruction of a RouteSheet.

Parameters

length

Length of current route section in meters.

time

Time of current route section in seconds.

fromName

Name of current route section.

fromPhoneme

Phonetic transcription of the name of current route section.

toName

name of next route section (or name of sign post to follow).

toPhoneme

phonetic transcription of the next route section (or sign post to follow).

toRN

route number of next route section

toRNPhoneme

Phonetic transcription of the route number of next route section

toON

official name of next route section (in specified language code if available)

toONPhoneme

Phonetic transcription of the official name of next route section

toSI

Sign post to follow

toSIPhoneme

Phonetic transcription of sign post to follow,

instructionType

type of the instruction

maneuverType

specific maneuver type connected to given instruction

junctionType

the type of the junction connected to given instruction

bearingType

bearing type information of given instruction

roundAboutExitNumber

the exit number of a roundabout or null if the instruction doesn't specify any

location

position of intersection between the current road and next sections.

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val time: Long
Link copied to clipboard
Link copied to clipboard
val toON: String?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val toRN: String?
Link copied to clipboard
Link copied to clipboard
val toSI: String?
Link copied to clipboard

Functions

Link copied to clipboard
fun toJson(): String