Socket
Socket
Sign inDemoInstall

@real2u/javascript-ar-sdk

Package Overview
Dependencies
207
Maintainers
2
Versions
24
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @real2u/javascript-ar-sdk

JavaScript SDK for Augmented Reality on the web.


Version published
Weekly downloads
179
increased by1.7%
Maintainers
2
Created
Weekly downloads
 

Readme

Source

JavaScript AR SDK

JavaScript SDK for Augmented Reality on the web.

Methods

Defines a global Real2U variable with the following methods

interface Real2U {
  init: (params: {customerId: string}) => Promise<void>;
  isActive: (sku: string) => Promise<boolean>;
  openAR: (params: { sku: string; name: string; resize?: boolean }) => Promise<void>;
  getOpenARLink: (sku: string) => Promise<string>;
  create3DViewer: (params: {
    element: HTMLElement;
    sku: string;
    name: string;
    popup: boolean;
    progressBarPosition?: 'top' | 'middle' | 'bottom';
    poster?: string | null;
  }) => Promise<void>;
}

Integration

Please refer to the real2u-integration repository for more information.

FAQs

Last updated on 07 Aug 2020

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc