CXR-L(EN)
cxr-l-sdk · v1.0.3 · snapshot 2026-06-02· ↗ source

Terms and Abbreviations

Terms and Abbreviations

Platforms and products

TermMeaning
Rokid AI AppRequired app (mainland); package com.rokid.sprite.aiapp; requires ≥ 1.7.14 when using client-l:1.0.3
Hi RokidRequired app (overseas)
GlassesRokid glasses device
CXR-L SDKAndroid: com.rokid.cxr:client-l:1.0.3; iOS: CocoaPods RGCxrClient (v1.0.1)
CXR-S SDKGlasses-side Android SDK, paired with CXR-L; Maven artifact cxr-service-bridge; see the SDK Integration (glasses-side) chapter
CXRServiceBridgeGlasses CXR-S bridge entry, com.rokid.cxr.CXRServiceBridge; subscribe / sendMessage pair with phone sendCustomCmd / ICustomCmdCbk
cxr-service-bridgeMaven coordinate prefix for CXR-S, e.g. com.rokid.cxr:cxr-service-bridge (version per Sample / release notes)

Authentication and connection

TermMeaning
tokenAuth token for CXRLink.connect(token)
CXRLinkAndroid SDK entry, com.rokid.cxr.link.CXRLink
CxrClientiOS SDK entry, CxrClient.shared
ICXRLinkCbkAndroid link callbacks

Scenes and sessions

TermMeaning
Scene buildingGlasses in working state: Custom View opened or Custom App running
Link readyTransport available: onCXRLConnected; CustomApp also needs Bluetooth
Scene readyCustomView: onCustomViewOpened; CustomApp: app opened on glasses

Session types

TermAndroid enumNotes
CustomView sessionCxrDefs.CXRSessionType.CUSTOMVIEWJSON layout delivery
CustomApp sessionCxrDefs.CXRSessionType.CUSTOMAPPRemote APK control; requires packageName

iOS uses initialization modes (customView / customApp) — see RGCxrClient.

Capability abbreviations

AbbrevCapability
CustomViewGlasses custom UI (JSON + Base64 icons)
CustomAppRemote glasses Android app control
CustomCMDBinary messages via Caps + sendCustomCmd
AudiostartAudioStream / stopAudioStream
PhototakePhoto + image callback

Caps (Android)

com.rokid.cxr.Caps — serializes custom command payloads.

CustomView JSON terms

TermMeaning
View treeRecursive JSON for customViewOpen: type + props + children
props.idUnique node id for customViewUpdate
Icon nameKey linking customViewSetIcons and ImageView.props.name
Marcin Miazga