Package-level declarations

Contains classes and interfaces needed to define client SDK error handling.

Error

When creating VehicleIntegrationClient, ErrorCallback is passed as one of the parameters of the create() factory method. This callback will be triggered if an error occurs, with NavAppError containing the error type.

Types

Link copied to clipboard
@Since(version = 1)
fun interface ErrorCallback

Interface for a callback to be invoked by the Vehicle Integration Library if an error occurs while creating or using a VehicleIntegrationClient instance.

Link copied to clipboard
@Since(version = 1)
data class NavAppError(val errorType: NavAppErrorType)
Link copied to clipboard

Error codes for the VehicleIntegration Client. NOTE: enum value will not be sent over the client server connection and will not need UNHANDLED nor direction annotation