UNPKG

@plattar/plattar-ar-adapter

Version:

Plattar AR Adapter for interfacing with Google & Apple WebAR

24 lines (23 loc) 966 B
import { LauncherAR } from "../../ar/launcher-ar"; import { PlattarController } from "./plattar-controller"; import { DecodedConfiguratorState } from "../../util/configurator-state"; /** * Manages an instance of the <plattar-product> HTML Element * * NOTE: As of 14th June 2023, this is now a legacy Controller and only used in legacy embeds * and should be deprecated from both documentation and previous integrations */ export declare class ProductController extends PlattarController { getConfiguratorState(): Promise<DecodedConfiguratorState>; onAttributesUpdated(attributeName: string): Promise<void>; startViewerQRCode(options: any): Promise<HTMLElement>; /** * Displays a QR Code that sends the user direct to AR * @param options * @returns */ startARQRCode(options: any): Promise<HTMLElement>; startRenderer(): Promise<HTMLElement>; initAR(): Promise<LauncherAR>; get element(): HTMLElement | null; }