ActivateARReport ​Contract 2.0.0 · package sha256
a857eca95b35921109faf997094bb4192f12527d9d0fcd4be7e97f06425bad6e· generated fromconfigurator-runtime.d.tsbyservices/onsite-scripter/scripts/build-contract-docs.mjs; edit the source, not this file.
Interface · import type { ActivateARReport } from '@holostep-configurators/runtime-client/contract'; · stable · since 2.0.0 · section 16. Capture, export, AR
How an AR launch went. A failure resolves; only misuse rejects.
| Member | Kind | Summary |
|---|---|---|
launched |
property | True when an AR viewer opened. |
mode? |
property | The viewer used, when launched. |
reason? |
property | Why it didn't launch: AR off in the document, a device without AR, the shopper declining the browser's AR prompt or closing AR before it started ('cancelled': a new tap may open it), or an error. |
message? |
property | Detail for logs; not for display. |
problems |
property | For the runtime's own USDZ or WebXR copy of the committed product: 'asset-failed' for each placed ModelNode or kind: 'model' collection item it left out because its asset is unloaded, as ExportResult.problems. |
export interface ActivateARReport {
readonly launched: boolean;
readonly mode?: 'scene-viewer' | 'quick-look' | 'webxr' | 'other';
readonly reason?: 'disabled' | 'unsupported' | 'cancelled' | 'error' | 'other';
readonly message?: string;
readonly problems: readonly Problem[];
}
| Rule | Result |
|---|---|
| 1. Neutral name | pass: ActivateARReport names no product |
| 2. A precedent | not recorded: no ledger row (coverage.json) names this member or its owner |
| 3. Two apps, or labs | pass: 24 apps (fleet cross-check: app-04c2774145, app-37356bf09f, app-4762caacdc, app-4f16d2f6da, app-4fd23bc869, app-510d750508, app-59c5b5751e, app-822bb9d6aa and 16 more) |
| 4. The cheaper fix first | not recorded per member (Appendix B decides it per need) |