LzSdkErrors
enum LzSdkErrors : Enum<LzSdkErrors> SDK error codes used to identify the type of error that occurred during SDK operations.
Each value corresponds to a specific error condition and maps to an integer ordinal used in LazarilloMapErrorObject for serialization.
Entries
UNHANDLED_ERROR | UNHANDLED_ERRORAn unexpected or uncategorized error that does not match any specific error type. |
INVALID_MAP_ID | INVALID_MAP_IDThe map identifier provided is missing or malformed. |
MAP_NOT_FOUND | MAP_NOT_FOUNDNo map instance could be found for the given identifier. |
MARKER_NOT_FOUND | MARKER_NOT_FOUNDNo marker could be found for the given identifier. |
INVALID_ARGUMENTS | INVALID_ARGUMENTSA method was called with incorrect or invalid parameters. |
PERMISSIONS_DENIED_LOCATION | PERMISSIONS_DENIED_LOCATIONThe required location permission has not been granted by the user. |
LAZARILLO_MAP_NOT_AVAILABLE | LAZARILLO_MAP_NOT_AVAILABLEThe map component has not been initialized or is not currently available. |
BOUNDS_NOT_FOUND | BOUNDS_NOT_FOUNDThe map bounds could not be computed from the current map state. |
Properties
entries
val entries: EnumEntries<LzSdkErrors>Returns a representation of an immutable list of all enum entries, in the order they’re declared.
name
val name: Stringordinal
val ordinal: IntFunctions
valueOf
fun valueOf(value: String): LzSdkErrorsReturns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
values
fun values(): Array<LzSdkErrors>Returns an array containing the constants of this enum type, in the order they’re declared.
Last updated on