@aws-amplify/xr
- Version 4.0.15
- Published
- 219 kB
- 2 dependencies
- Apache-2.0 license
Install
npm i @aws-amplify/xr
yarn add @aws-amplify/xr
pnpm add @aws-amplify/xr
Overview
XR category of aws-amplify
Index
Variables
Classes
Variables
variable XR
const XR: XRClass;
Classes
class SumerianProvider
class SumerianProvider extends AbstractXRProvider {}
Deprecated
The Amazon Sumerian service is no longer accepting new customers. Existing customer scenes will not be available after February 21, 2023. The AWS Amplify XR features depend on the Amazon Sumerian service to function and as a result, will no longer be available.
constructor
constructor(options?: ProviderOptions);
Deprecated
The Amazon Sumerian service is no longer accepting new customers. Existing customer scenes will not be available after February 21, 2023. The AWS Amplify XR features depend on the Amazon Sumerian service to function and as a result, will no longer be available.
method enableAudio
enableAudio: (sceneName: string) => void;
Deprecated
The Amazon Sumerian service is no longer accepting new customers. Existing customer scenes will not be available after February 21, 2023. The AWS Amplify XR features depend on the Amazon Sumerian service to function and as a result, will no longer be available.
method enterVR
enterVR: (sceneName: string) => void;
Deprecated
The Amazon Sumerian service is no longer accepting new customers. Existing customer scenes will not be available after February 21, 2023. The AWS Amplify XR features depend on the Amazon Sumerian service to function and as a result, will no longer be available.
method exitVR
exitVR: (sceneName: string) => void;
Deprecated
The Amazon Sumerian service is no longer accepting new customers. Existing customer scenes will not be available after February 21, 2023. The AWS Amplify XR features depend on the Amazon Sumerian service to function and as a result, will no longer be available.
method getProviderName
getProviderName: () => string;
method getSceneController
getSceneController: (sceneName: string) => any;
Deprecated
The Amazon Sumerian service is no longer accepting new customers. Existing customer scenes will not be available after February 21, 2023. The AWS Amplify XR features depend on the Amazon Sumerian service to function and as a result, will no longer be available.
method isMuted
isMuted: (sceneName: string) => boolean;
Deprecated
The Amazon Sumerian service is no longer accepting new customers. Existing customer scenes will not be available after February 21, 2023. The AWS Amplify XR features depend on the Amazon Sumerian service to function and as a result, will no longer be available.
method isSceneLoaded
isSceneLoaded: (sceneName: string) => any;
Deprecated
The Amazon Sumerian service is no longer accepting new customers. Existing customer scenes will not be available after February 21, 2023. The AWS Amplify XR features depend on the Amazon Sumerian service to function and as a result, will no longer be available.
method isVRCapable
isVRCapable: (sceneName: string) => boolean;
Deprecated
The Amazon Sumerian service is no longer accepting new customers. Existing customer scenes will not be available after February 21, 2023. The AWS Amplify XR features depend on the Amazon Sumerian service to function and as a result, will no longer be available.
method isVRPresentationActive
isVRPresentationActive: (sceneName: string) => boolean;
Deprecated
The Amazon Sumerian service is no longer accepting new customers. Existing customer scenes will not be available after February 21, 2023. The AWS Amplify XR features depend on the Amazon Sumerian service to function and as a result, will no longer be available.
method loadScene
loadScene: ( sceneName: string, domElementId: string, sceneOptions: SumerianSceneOptions) => Promise<void>;
Deprecated
The Amazon Sumerian service is no longer accepting new customers. Existing customer scenes will not be available after February 21, 2023. The AWS Amplify XR features depend on the Amazon Sumerian service to function and as a result, will no longer be available.
method onSceneEvent
onSceneEvent: ( sceneName: string, eventName: string, eventHandler: Function) => void;
Deprecated
The Amazon Sumerian service is no longer accepting new customers. Existing customer scenes will not be available after February 21, 2023. The AWS Amplify XR features depend on the Amazon Sumerian service to function and as a result, will no longer be available.
method setMuted
setMuted: (sceneName: string, muted: boolean) => void;
Deprecated
The Amazon Sumerian service is no longer accepting new customers. Existing customer scenes will not be available after February 21, 2023. The AWS Amplify XR features depend on the Amazon Sumerian service to function and as a result, will no longer be available.
method start
start: (sceneName: string) => void;
Deprecated
The Amazon Sumerian service is no longer accepting new customers. Existing customer scenes will not be available after February 21, 2023. The AWS Amplify XR features depend on the Amazon Sumerian service to function and as a result, will no longer be available.
class XRError
class XRError extends Error {}
class XRNoDomElement
class XRNoDomElement extends XRError {}
class XRNoSceneConfiguredError
class XRNoSceneConfiguredError extends XRError {}
class XRProviderNotConfigured
class XRProviderNotConfigured extends XRError {}
class XRSceneLoadFailure
class XRSceneLoadFailure extends XRError {}
class XRSceneNotFoundError
class XRSceneNotFoundError extends XRError {}
class XRSceneNotLoadedError
class XRSceneNotLoadedError extends XRError {}
Package Files (4)
Dependencies (2)
Dev Dependencies (0)
No dev dependencies.
Peer Dependencies (0)
No peer dependencies.
Badge
To add a badge like this oneto your package's README, use the codes available below.
You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/@aws-amplify/xr
.
- Markdown[![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/@aws-amplify/xr)
- HTML<a href="https://www.jsdocs.io/package/@aws-amplify/xr"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>
- Updated .
Package analyzed in 4292 ms. - Missing or incorrect documentation? Open an issue for this package.