enum WearablesError : Enum<WearablesError> , DatError
| Member | Description |
|---|---|
NOT_INITIALIZED |
Wearables Device Access Toolkit has not been initialized. Call Wearables.initialize before using the toolkit.
|
ALREADY_INITIALIZED |
Wearables Device Access Toolkit has been already initialized
|
description
: String
[Get] |
Human-readable description of the error
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 WearablesError.description.
Returns String
The localized error description, or the default description if localization unavailable.
|