API key validation

When the Location Manager is initialised, it will attempt to validate the API key. If a key cannot be successfully validated, data will not be uploaded to Naurt's servers and building entrances and parking spots will not be logged.

The easiest way to check whether Naurt is validated yet is by using the getValidated method.

Kotlin
import com.naurt.sdk.enums.NaurtValidationStatus


val isMyApiKeyValidated = naurtLite.getIsValidated()

when(isMyApiKeyValidated) {
    NaurtValidationStatus.Valid -> Log.d("Naurt", "API key is valid.")
    NaurtValidationStatus.ValidNoDataTransfer -> Log.d("Naurt", "API key is valid, but no data is to be uploaded.")
    NaurtValidationStatus.Invalid -> Log.d("Naurt", "API key is invalid. Naurt Will not create parking and door POIs.")
    NaurtValidationStatus.NotYetValidated -> Log.d("Naurt", "Naurt is currently attempting to validate.")
}