RayNeoDeviceManager

RayNeo phone-side device manager.

Installs or updates the on-glasses APK via ADB-over-TCP (adbd:5555), then the actual com.xgglass.core.GlassesClient runs inside the installed glasses app.

Constructors

Link copied to clipboard
constructor(context: Context, config: RayNeoInstallerConfig)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open override val events: Flow<GlassesEvent>
Link copied to clipboard
open override val model: GlassesModel
Link copied to clipboard
open override val state: StateFlow<DeviceManagerState>

Functions

Link copied to clipboard
open suspend override fun close()
Link copied to clipboard
open suspend override fun install(): Result<Unit>
Link copied to clipboard
open suspend override fun pushSettings(settings: Map<String, String>): Result<Unit>

Push user settings to the glasses via ADB so the on-glasses app can read them at startup.