The Z.Device object provides a number of functions for interacting with the underlying platform.
A globally accessible instance of this object is available at
Provided by Z.Device
||The ways in which an experience can have been launched.
||Gets a string of data provided by a host app.
||Gets the identity of the app running the experience.
||Gets a unique string for the zapcode scanned to launch the experience.
||Triggers the device to take a 90 frame gif.
||Gets the message that will be pre-filled in any share dialog of a gif that has been taken.
||Sets the message that will be pre-filled in any share dialog of a gif that has been taken.
||Gets if the device has a gyroscope.
||Gets how the current experience was launched.
||Displays a web view and navigates to the supplied URL.
||Sends a message to the app that hosts this experience.
||Plays the video at the supplied URL fullscreen using the device's OS-supplied video playback functionality.
||Returns an array of decoded string values for a given parameter from the query string passed in a deep link.
||Returns the unmodified query string passed in a deep link.
||Closes the experience and returns the device to scanning mode.
||Retrieves data previously stored on the device using the store(...) function.
||Opens a dialog that saves the media file at the specified URL to the user's device.
||Triggers the device to take a snapshot.
||Gets the message that will be pre-filled in any share dialog of a snapshot that has been taken.
||Sets the message that will be pre-filled in any share dialog of a snapshot that has been taken.
||Takes a snapshot and places it into a DataTexture that can be used as a skin or material.
||Gets if social sharing options will be presented to the user when they share a snapshot or gif.
||Sets if social sharing options will be presented to the user when they share a snapshot or gif.
||Stores the supplied object on the device such that it can be accessed during a future execution of the experience.
||Gets the theme color.
||Sets the theme color.
||Gets the language and region of the user's device.
||Vibrates the device if it has vibration hardware.
||Allows the user to set social media options along with a message for sharing.