Gets the analytic event utility wrapper.
The analytic event utility wrapper.
Gets the camera utility wrapper.
The camera utility wrapper.
Gets the canvas element of Atlatl Visual.
The HTML Canvas element associated with the Visual.
State of instance destructions.
The state of instance destructions.
Gets the device information wrapper.
The device information wrapper.
The unique id associated with this Visual instance.
The unique id that is associated with this Visual instance.
Gets the loading screen of Atlatl Visual. It can be used for showing/hiding the loading screen.
The loading screen component associated with the Visual.
Returns the session ID that is used for Atlatl Visual.
The session ID.
Static
buildGets the build number of Atlatl Visual. It is the last number within the version string.
Static
envGets the environment that Atlatl Visual communicates with.
Static
versionGets the version of Atlatl Visual in the format v.v.v.b. 'v' being the semantic version and 'b' being the build number.
Captures an image that represents the current scene.
Optional
options: ImageCaptureOptionsParameters that modify the image that will be captured. If no imageHandler is provided, a png image will be downloaded to the user's Downloads folder.
A promise that resolves with the base64 encoded string for the image, once the screenshot has been taken.
Gets all the ProductTemplate instances that have been loaded and are associated with this Visual instance.
A list of all ProductTemplate instances that have been loaded.
Gets a ProductTemplate instance with the specified namespace, name, and version. Will throw an error if the ProductTemplate cannot be found.
The namespace of the ProductTemplate to get.
The name of the ProductTemplate to get.
Optional
version: numberThe version of the ProductTemplate to get. If not specified, the first template matching the namespace and name will be returned.
The ProductTemplate that matches the namespace, name, and version that was passed in, if any.
Gets a ProductTemplate instance matching the passed in id.
The unique id associated with the ProductTemplate
The ProductTemplate that matches the id that is passed in.
Gets all the ProductTemplate instances that are associated with this Visual instance.
A list of all ProductTemplate instances.
Initializes runtime, gets and stores client and ci info
The client ID to use to get the info from the appropriate services
Optional
options: InitOptionsThe set of options to be used during initialization.
A resolved promise once the client has been authorized
Registers a callback function to be invoked when the specified event occurs.
The name of the event to listen for.
Optional
callback: (() => Promise<void>)An optional callback function to be invoked when the event occurs.
A promise that will resolve once the event is completed
Transitions the camera to the specified location within a specified time.
The camera transition options.
A promise that resolves when the transition finishes.
Gets a ProductTemplate instance with the specified namespace, name, and version. Will return null if the ProductTemplate cannot be found.
The namespace of the ProductTemplate to get.
The name of the ProductTemplate to get.
Optional
version: numberThe version of the ProductTemplate to get.
The ProductTemplate that matches the namespace, name, and version that was passed in, if any.
Static
getStatic
getGenerated using TypeDoc
Entry point for the Visual API.