API reference

NavigationError Enum

Enum representing errors that can occur when navigating to a screen in the Meta AI companion app.
Each error includes a human-readable description to help identify and resolve issues that prevent successful navigation.

See Also

  • DatResult for type-safe error handling patterns

Signature

enum NavigationError : Enum<NavigationError> , DatError

Enumeration Constants

MemberDescription
META_AI_NOT_INSTALLED
The Meta AI app is not installed on the device, which is required for navigation.
NOT_REGISTERED
The DAT app is not registered with AI glasses. Registration is required before navigating.

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 NavigationError.description.
Returns
String  The localized error description, or the default description if localization unavailable.