KNNaviView_StateDelegate
- Declared in: KNNaviView.h
A delegate that reports the state of KNNaviView. It is called when the state changes. All callbacks are delivered on the main thread.
Methods
naviViewDidUpdateSndVolume
Called when the navigation volume changes.
objc
- (void) naviViewDidUpdateSndVolume: (float) aVolumeParameters
| Name | Description |
|---|---|
aVolume | Changed volume value |
naviViewDidUpdateUseDarkMode
Sets whether to use night mode.
objc
- (void) naviViewDidUpdateUseDarkMode: (BOOL) aDarkModeParameters
| Name | Description |
|---|---|
aDarkMode | Night mode state |
naviViewDidUpdateMapCameraMode
Sets the camera mode currently used on the map.
objc
- (void) naviViewDidUpdateMapCameraMode: (MapViewCameraMode) aMapViewCameraMode;Parameters
| Name | Description |
|---|---|
aMapViewCameraMode | Current camera mode |
naviViewScreenState
Reports the current navigation screen state. See KNNaviViewState for the available types.
objc
- (void) naviViewScreenState: (KNNaviViewState) aKNNaviViewState;Parameters
| Name | Description |
|---|---|
aKNNaviViewState | The state of the current driving screen |
naviViewPopupOpenCheck
Delivers the open or closed state of a popup message.
objc
- (void) naviViewPopupOpenCheck: (BOOL) aOpen;Parameters
| Name | Description |
|---|---|
aOpen | Whether the popup message is open or closed |
naviViewDidMenuItemWithId:toggle
Delivers the ID of a custom menu button and, for toggle-style buttons, its current toggle state.
objc
- (void) naviViewDidMenuItemWithId: (int) aId
toggle: (BOOL) aToggle;Parameters
| Name | Description |
|---|---|
aId | Custom button ID |
aToggle | The current state value of the toggle button when the custom button is set to the toggle style |
naviViewIsArrival
Sets the item displayed at the bottom of the driving screen. (default: YES)
(YES: shows the arrival time / NO: shows the travel time)
objc
- (void) naviViewIsArrival: (BOOL) aIsArrival