KNNaviView_StateDelegate
INFO
This English reference is based on Directions SDK with UI 1.12.12. For the latest version, see the Korean reference.
- 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.
- (void) naviViewDidUpdateSndVolume: (float) aVolumeParameters
| Name | Description |
|---|---|
aVolume | Changed volume value |
naviViewDidUpdateUseDarkMode
Sets whether to use night mode.
- (void) naviViewDidUpdateUseDarkMode: (BOOL) aDarkModeParameters
| Name | Description |
|---|---|
aDarkMode | Night mode state |
naviViewDidUpdateMapCameraMode
Sets the camera mode currently used on the map.
- (void) naviViewDidUpdateMapCameraMode: (MapViewCameraMode) aMapViewCameraMode;Parameters
| Name | Description |
|---|---|
aMapViewCameraMode | Current camera mode |
naviViewScreenState
Reports the current navigation screen state. See KNNaviViewState for the available types.
- (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.
- (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.
- (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)
- (void) naviViewIsArrival: (BOOL) aIsArrival