BeaconError

open class BeaconError : Error

Container to encapsulate all Beacon errors, to ease passing around error code + error message in Beacon Callbacks.

The complete list of beacon errors is defined in : ErrorCode

Constructors

Link copied to clipboard
open fun BeaconError(code: Int, @Nullable message: String)
Constructor to define a new error for callback.

Types

Link copied to clipboard
annotation class ErrorCode
fail reasons when start beacon service

Functions

Link copied to clipboard
open fun getCode(): Int
Get the error code.
Link copied to clipboard
open fun getMessage(): String
Get the description message for the error.