API reference

StreamError Enum

Represents all possible stream error types that can occur during camera streaming operations.
Each enum entry corresponds to a specific error scenario, identified by a unique resource ID and a human-readable description. This class is part of the DAT SDK public API and should maintain API stability.

See Also

Signature

enum StreamError : Enum<StreamError> , DatError

Enumeration Constants

Member
STREAM_ERROR
HINGE_CLOSED
PERMISSIONS_DENIED

Properties

description : String
[Get]
Human-readable description of the error.
Signature
open override val description: String

Methods

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.