Properties accessible from the
global object. For example:
var scene = global.scene;
static global.launchParams :
Returns the global
GeneralDataStore for Launch Params, which provides any special data passed in when the Lens is launched.
static global.localizationSystem :
Returns the global LocalizationSystem, which helps convert times, dates, and other units to user friendly strings.
static global.persistentStorageSystem :
Returns the global PersistentStorageSystem, which allows data to persist between Lens sessions.
static global.scene :
Returns the global ScriptScene object, which offers information and controls for the current scene.
static global.touchSystem :
Returns the global TouchDataProvider, which controls how the Lens handles touch events.
static global.userContextSystem :
Returns the global UserContextSystem, which provides information about the user such as display name, birthday, and even current weather.
Still Looking for help?Visit Support