Interface: Maneuver
Navigation instructions and distance from the previous maneuver.
Table of contents
Properties
- dashboardInstructionVariants
- initialTravelEstimates
- instructionVariants
- junctionImage
- notificationInstructionVariants
- symbolImage
- symbolImageSize
- tintSymbolImage
Properties
dashboardInstructionVariants
• Optional
dashboardInstructionVariants: string
[]
Defined in
packages/react-native-carplay/src/interfaces/Maneuver.ts:28 (opens in a new tab)
initialTravelEstimates
• Optional
initialTravelEstimates: TravelEstimates
Defined in
packages/react-native-carplay/src/interfaces/Maneuver.ts:9 (opens in a new tab)
instructionVariants
• instructionVariants: string
[]
Defined in
packages/react-native-carplay/src/interfaces/Maneuver.ts:25 (opens in a new tab)
junctionImage
• Optional
junctionImage: ImageSourcePropType
Defined in
packages/react-native-carplay/src/interfaces/Maneuver.ts:8 (opens in a new tab)
notificationInstructionVariants
• Optional
notificationInstructionVariants: string
[]
Defined in
packages/react-native-carplay/src/interfaces/Maneuver.ts:29 (opens in a new tab)
symbolImage
• Optional
symbolImage: ImageSourcePropType
Defined in
packages/react-native-carplay/src/interfaces/Maneuver.ts:10 (opens in a new tab)
symbolImageSize
• Optional
symbolImageSize: Object
The size of the image in points. Please read the CarPlay App Programming Guide to get the recommended size.
Type declaration
Name | Type |
---|---|
height | number |
width | number |
Defined in
packages/react-native-carplay/src/interfaces/Maneuver.ts:15 (opens in a new tab)
tintSymbolImage
• Optional
tintSymbolImage: null
| string
| number
| OpaqueColorValue
Allows the supplied symbol image to be tinted
via a color, ie. 'red'. This functionality would usually
be available via the <Image>
tag but carplay requires
an image asset to this tinting is done on the native side.
If a string is supplied, it will be passed to processColor
.
You may also use processColor
yourself.
Defined in
packages/react-native-carplay/src/interfaces/Maneuver.ts:24 (opens in a new tab)