addAnimation()
Record the state of a scene's baked animation to Metalitix. The scene model uploaded to Metalitix must have an animation track of the same name.
| | |
addInactivityListener()
Adds a callback when a session is automatically stopped due to inactivity.
| function callback - The function to run when a session becomes inactive.
| |
clearAttribute()
Resets the attribute value recorded by this session to the respective chart.
| String chart - The name of the chart that session attribute is recorded to.
| |
clearAttributes()
Resets all attribute values recorded by this session to any charts.
| | |
clearAnimations()
Remove all scene baked animation tracks from being recorded to Metalitix.
| | |
clearInactivityListeners()
Removes all inactivity callbacks set by the user.
| | |
endSession()
Stop sending data, close the session, and clear any session attributes (custom metrics).
| boolean clearAttributes = true (Optional) - Whether to clear any session attributes.
| |
isRunning()
Checks whether the session is actively sending data.
| | true - The session is actively recording and sending data.
false - The session is not recording or sending data because it has paused or ended.
|
logEvent()
Best for representing user-generated actions. These will also appear in the Sessions tab.
| String chart - The name of the chart to record to.
String value The value to record to the chart (string only).
| |
logState()
Best for recording and monitoring general updates to sessions. These are similar to events but do not appear in the Sessions tab.
| String chart - The name of the chart to record to.
String|boolean|int value The value to record to the chart.
| |
pauseSession()
Stop recording and sending data, but do not close the session.
| | |
resumeSession()
Start recording and sending data again with the existing, current open session.
| | |
showSurvey()
Immediately send a prompt to the user that asks for their sentiment.
| String theme = 'white' (Optional) Accepts either 'white' or 'black' themes.
| |
setAttribute()
Used for tagging a session with characteristics. Effectively, only the last value recorded by this session to this chart will appear.
| String chart - The name of the chart to record to.
String|boolean|int value The value to record to the chart.
| |
startSession()
Start automatically recording and sending data to Metalitix, which also notifies the platform that a new session has started.
| | |