Package-level declarations
Data models and runtime wrappers for LiG scenes. The Gson payload classes cover the light and scene responses, scene objects, games, bot, user profile, light pose and navigation map. The runtime classes (ArObjectModel, ArEventModel, ArActionModel) turn parsed scene JSON into scene nodes, event triggers and executable actions. The enums decode the numeric model, event, action and vibration codes, and ProgressResponseBody and RetryInterceptor are the OkHttp helpers for download progress and retries.
Types
Device-adaptation record for a device brand and model.
Voice AI-bot reply: recognized speech, answer text and synthesized speech.
Action type codes of an AR object, as carried in the id field of a scene action (tw.com.lig.sdk.player.model.arObject.arEvents.ArAction.id).
Read-only view over one scene action (ArAction) that supplies defaults for missing values and builds the runnable action.
Trigger types of an AR object event, as carried in the id field of a scene event (tw.com.lig.sdk.player.model.arObject.ArEvent.id).
Process-wide registry of long-running event coroutines, keyed by name.
Runtime wrapper of one scene event (ArEvent) that wires its trigger to a node.
Photo entry ({"url": ...}) inside shop, review and post payloads.
Article/post entry of the old AR item payload.
User review of a shop or place, as found in shop payloads (ShopInfo.reviews) and in the per-language *_reviews lists of action values.
AR object model types, as carried in model.type of an AR object in the scene JSON.
One AR object of a scene, as found in the ar_objects array of a scene payload (ArScenes.arObjects).
Runtime model of one AR object: exposes its parsed scene data with defaults, creates its events, and builds its scene node.
One scene: its AR objects plus scene-level metadata, named actions and credentials.
Reply of the LiG AI bot chat endpoint (POST /api/v1/chats on the bot service), sent by the ArActionEnum.AI_BOT action.
The scenes bound to one light (LiG ID), with its map and indoor-navigation data.
Top-level wrapper ({"coordinate_system": {...}}) of the scene-list responses of GET /api/v3/lights/{lightId}/scenes (SceneFormContext.loadScenes) and the deprecated GET /api/v3/ar_objects/?light_id={lightId} (SceneFormContext.load).
Login credential for an external data service, from the credentials map of a scene (ArScenes.credentials).
Navigation suggestion; tapping it starts indoor navigation to the mark named name.
Error payload with snake_case keys. The SDK itself does not deserialize or create this class; the descriptions are taken from the field names.
Error description with camelCase fields. The SDK itself does not create this class; the descriptions are taken from the field names.
Result of one games-API call (POST /api/v3/games), wrapping its GamesResponse.
Reward action codes of GamesResponse.action; each maps to one Game.ActionListener method.
Progress data of a GamesResponse. Only action_name is read by the SDK; the other descriptions are taken from the JSON keys. Missing keys leave Int fields 0 and String fields null, despite the non-null types.
Reply of the games endpoint POST /api/v3/games (form field ar_object_id), sent by SceneFormContext.callGameAPI and wrapped in Game.
Game type codes, matching the game_type field of GamesResponse by name. The SDK itself does not reference this enum.
The registered user's game wallet, from UserProfileResponse.user.
Calibrated pose of a light (LiG ID), from GET /api/v1/light_position/{lightId}.
Asset loading states. The SDK itself does not reference this enum.
Indoor navigation map of a light (CoordinateSystem.navigation): named destination marks and the walkable path segments between them.
Reply of the external login call made for each scene Credential.
One walkable segment from (fx, fy, fz) to (tx, ty, tz). Segments are treated as two-way; endpoints at identical positions are joined into one graph vertex.
The complete, validated wire data of a polyhedron AR object (ArModelEnum.NEW_POLYHEDRON, model type 13).
OkHttp ResponseBody wrapper that reports download progress while the body is read.
One answer in BotResponse.data.
Follow-up suggestions of a BotResponse; the recommendation board shows up to three of each kind.
What a video recorded inside a scene hears, set per scene by the manifest's recording_audio (Canonical AR Player Contract, §Scene recording audio; APP-857).
Reply of the user sign-up endpoint POST /api/v3/ext_sign_up (form field reference_key), sent by SceneFormContext.registerUser.
Web page suggestion; tapping it opens url in the in-app web view.
OkHttp interceptor that retries a request after a transport failure (IOException) or an HTTP 5xx response. 4xx responses are returned without retrying.
Scene list returned by the legacy endpoint GET /api/v1/ar_objects/?light_id={lightId}, used by LiGScene.readFromCloud.
Shop details (name, rating, contact, location, reviews, photos). The SDK itself does not deserialize this class; the descriptions are taken from the field names. Gson leaves a field null (or 0) when its key is missing, regardless of the Kotlin default.
Reply of the user profile endpoint GET /api/v3/user_profile, sent by SceneFormContext.userProfile with the token from RegisterUserResponse.
Vibration styles of the ArActionEnum.PLAY_IMPACT_FEEDBACK action (impact_feedback_style).
One voucher owned by the user, from LightenARUser.vouchers.