onConfigReceivedevent is fired. This event is always called after the
window.onloadand can be considered as the entry point for your web app.
hello worldMoment may look like the following:
environment: the platform environment the Moment is running on (production or staging).
token: the user token to authenticate against the backend API service.
userId: the user email. It is generally used as a key to read and write to the Moment state. Each user has associated a bucket where the moment can save data.
momentClassData: the moment custom data provided at runtime and set by event organizer.
momentClassId: the moment class id. Each moment belongs to a moment class which defines its basic characteristics (name, category, version etc...). A moment can be seen as an instance of a MomentClass.
momentId: the moment id
eventId: the id of the event in which the moment are launched.
coordinates: the user latitude and longitude as provided by the device (if enabled by the user)
isGuest: flag that specifies whether the user is registered to stagecast or it is guest user. You can implement different custom logics based on this flag. However, most users will be guests, as we have dropped user registrations.
isActive: flag that specify whether the moment is currently live or has been stopped.
isMomentActive: same as above, kept for backward compatibility. Soon to be deprecated.
disableLogs: a flag used to disable all the