KNGPSSettingReceiver
INFO
This English reference is based on Directions SDK with UI 1.12.8-hotfix02 (as of 2026-07-24). For the latest version, see the Korean reference.
Checks the state of the KMLocation SDK.
KNStatus state values
| Status | Value | Description |
|---|---|---|
| SUCCESS | 0 | Success |
| ERROR | 1 | An error occurred |
| NO_PERMISSION | 2 | No location permission |
| NO_PERMISSION_MOTION_ACTIVITY | 3 | No motion activity permission |
| LOCATION_INACTIVATE | 4 | Location deactivated state |
| LOCATION_ACTIVATE | 5 | Location activated state |
| INVALID_AUTH_TOKEN | 6 | Invalid token value |
| ALREADY_STARTED | 7 | KMLocation SDK is already started |
| INVALID_POSITION | 8 | Abnormal position value used |
| GOOGLE_PLAY_SERVICE_VALID | 9 | Whether Google Play services are available |
| INDOOR_AVAILABLE | 10 | Indoor location feature is available |
| INDOOR_UNAVAILABLE | 11 | Indoor location feature is unavailable |
Methods
onStatusChanged
Checks the state value of the KMLocation SDK and its corresponding detailed description.
kotlin
fun onStatusChanged(status: Int, extras: Bundle)Parameters
| Name | Description |
|---|---|
status | The state value of KMStatus |
extras | The detailed description corresponding to the state value of KMStatus |