UNPKG

@plattar/plattar-ar-adapter

Version:

Plattar AR Adapter for interfacing with Google & Apple WebAR

25 lines (24 loc) 976 B
import { LauncherAR } from "../../ar/launcher-ar"; import { DecodedConfiguratorState } from "../../util/configurator-state"; import { PlattarController, QRCodeOptions } from "./plattar-controller"; /** * Manages an instance of the <plattar-configurator> HTML Element */ export declare class ConfiguratorController extends PlattarController { private _cachedConfigState; getConfiguratorState(): Promise<DecodedConfiguratorState>; onAttributesUpdated(attributeName: string): Promise<void>; startARQRCode(options: any): Promise<HTMLElement>; startViewerQRCode(options: QRCodeOptions): Promise<HTMLElement>; startRenderer(): Promise<HTMLElement>; initAR(): Promise<LauncherAR>; /** * Private Function - This launches the Static/Inherited AR Mode */ private _InitARInherited; /** * Private Function - This launches the Dynamic/Generated AR Mode */ private _InitARGenerated; get element(): HTMLElement | null; }