PresenceError

Errors transforming Ditto mesh presence data to or from JSON encoding.

Constructors

Link copied to clipboard
constructor(reason: DittoError.PresenceErrorReason)

Properties

Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard
open override val message: String?

A formatted description of the error. Not all errors have a message. Use the null-safe getLocalizedMessage if you don't want to have to handle null values.

Link copied to clipboard

Functions

Link copied to clipboard
open override fun getLocalizedMessage(): String

A String representation of the error suitable for display.

Link copied to clipboard

Checks if the given Throwable is a DeadSystemRuntimeException or DeadObjectException, which indicates that the Bluetooth system service has died unexpectedly.