Type alias ARButtonOptions

ARButtonOptions: {
    onNotAllowed?: ((exception: DOMException) => void);
    onSessionEnded?: ((session: XRSession) => void);
    onSessionStarted?: ((session: XRSession) => void);
    onUnsupported?: (() => void);
    sessionInit?: XRSessionInit;
}

Type declaration

  • Optional onNotAllowed?: ((exception: DOMException) => void)
      • (exception: DOMException): void
      • Parameters

        • exception: DOMException

        Returns void

  • Optional onSessionEnded?: ((session: XRSession) => void)
      • (session: XRSession): void
      • Parameters

        • session: XRSession

        Returns void

  • Optional onSessionStarted?: ((session: XRSession) => void)
      • (session: XRSession): void
      • Parameters

        • session: XRSession

        Returns void

  • Optional onUnsupported?: (() => void)
      • (): void
      • Returns void

  • Optional sessionInit?: XRSessionInit