enum PermissionError : Enum<PermissionError> , DatError
| Member | Description |
|---|---|
NO_DEVICE |
No wearable devices have been discovered or registered.
|
NO_DEVICE_WITH_CONNECTION |
All discovered devices are powered off or disconnected.
|
META_AI_NOT_INSTALLED |
The Meta AI companion app is not installed on the device.
|
CONNECTION_ERROR |
A connection error occurred while communicating with the device.
|
REQUEST_IN_PROGRESS |
A permission request is already in progress.
|
REQUEST_TIMEOUT |
The permission request exceeded the allowed time limit.
|
INTERNAL_ERROR |
An unexpected internal error occurred.
|
description
: String
[Get] |
A human-readable description of the error suitable for logging and debugging purposes.
Signature
open override val description: String |
getLocalizedDescription
(
context
)
|
Returns a localized description of the error using Android string resources when available.
Signature
open override fun getLocalizedDescription(context: Context?): String Parameters context: Context?
Optional Android context for accessing string resources. If null or if no localized string is available, returns the default PermissionError.description.
Returns String
The localized error description, or the default description if localization unavailable.
|