TypeScript API
Travelestimates

Interface: TravelEstimates

Table of contents

Properties

Properties

destinationTime

Optional destinationTime: Object

Destination time Android

Type declaration

NameType
idstring
timeSinceEpochMillisnumber

Defined in

packages/react-native-carplay/src/interfaces/TravelEstimates.ts:35 (opens in a new tab)


distanceRemaining

distanceRemaining: number

Distance remaining

Defined in

packages/react-native-carplay/src/interfaces/TravelEstimates.ts:9 (opens in a new tab)


distanceRemainingColor

Optional distanceRemainingColor: CarColor

Color of the distance remaining Android

Defined in

packages/react-native-carplay/src/interfaces/TravelEstimates.ts:25 (opens in a new tab)


distanceUnits

Optional distanceUnits: DistanceUnits

unit of measurement for the distance, defaults to kilometer iOS

Defined in

packages/react-native-carplay/src/interfaces/TravelEstimates.ts:19 (opens in a new tab)


timeRemaining

timeRemaining: number

Time remaining in seconds

Defined in

packages/react-native-carplay/src/interfaces/TravelEstimates.ts:13 (opens in a new tab)


timeRemainingColor

Optional timeRemainingColor: CarColor

Color of the time remaining Android

Defined in

packages/react-native-carplay/src/interfaces/TravelEstimates.ts:30 (opens in a new tab)