AnalyticsSessionInfo
class in
UnityEngine.Analytics
/
Implemented in:UnityEngine.UnityAnalyticsModule
Suggest a changeSuccess!
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
CloseSubmission failed
For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.
Close Description
Provides access to the Analytics session information for the current game instance.
This class contains static methods for looking up Analytics session information. Note that cumulative statistics are reset if the player re-installs the game.
Static Properties
customDeviceId | Reports the current custom device ID. |
customUserId | Reports the current custom user ID. |
identityToken | The current user identity token that the Analytics server returns based on AnalyticsSessionInfo.userId. |
sessionCount | The number of sessions played since the app was installed. |
sessionElapsedTime | The time elapsed, in milliseconds, since the beginning of the current game session. |
sessionFirstRun | Reports whether the current session is the first session since the player installed the game or application. |
sessionId | A random, unique GUID identifying the current game or app session. |
sessionState | The current state of the session. |
userId | A random GUID uniquely identifying sessions played on the same instance of your game or app. |