enum RegistrationError : Enum<RegistrationError> , DatError
| Member | Description |
|---|---|
ALREADY_REGISTERED |
User is already registered when attempting to register again.
|
ALREADY_UNREGISTERED |
User is already unregistered when attempting to unregister again.
|
FAILED_TO_REGISTER |
Registration process failed for an unspecified reason.
|
FAILED_TO_UNREGISTER |
Unregistration process failed for an unspecified reason.
|
META_AI_NOT_INSTALLED |
The Meta AI app is not installed on the device, which is required for registration.
|
UNKNOWN |
An unknown error occurred during the registration process.
|
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 RegistrationError.description.
Returns String
The localized error description, or the default description if localization unavailable.
|