enum StreamError : Enum<StreamError> , DatError
| Member | Description |
|---|---|
STREAM_ERROR |
Unspecified error, the stream can continue regardless.
|
CRITICAL_STREAM_ERROR |
Critical error, the stream should end.
|
HINGE_CLOSED |
The hinges on the glasses were closed.
|
PERMISSIONS_DENIED |
Permissions denied.
|
THERMAL_HOT |
Device thermal level is too high for streaming.
|
BATTERY_LOW |
Device battery is too low for streaming.
|
PEAK_POWER_LIMIT |
Device peak power limit reached.
|
TIMEOUT |
The operation timed out.
|
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 StreamError.description.
Returns String
The localized error description, or the default description if localization unavailable.
|