Class responsible for gathering and sending information about session, for example: focus duration, device info, etc.
More...
|
| void | ClientSessionStart (string entityId, string entityType, string playFabUserId) |
| | Start session, the function responsible for creating SessionID and gathering information about user and device.
|
| |
| void | OnApplicationFocus (bool isFocused) |
| | Gather information about user's focus. Calculates interaction durations. Name mimics MonoBehaviour method, for ease of integration.
|
| |
| void | Send () |
| | Sends events to server.
|
| |
| void | OnEnable () |
| | Unused Name mimics MonoBehaviour method, for ease of integration.
|
| |
| void | OnDisable () |
| | Unused Name mimics MonoBehaviour method, for ease of integration.
|
| |
| void | OnDestroy () |
| | Unused Name mimics MonoBehaviour method, for ease of integration.
|
| |
| void | OnApplicationQuit () |
| | Trying to send event during game exit. Note: works only on certain platforms. Name mimics MonoBehaviour method, for ease of integration.
|
| |
| void | OnEnable () |
| |
| void | OnDisable () |
| |
| void | OnDestroy () |
| |
| void | OnApplicationQuit () |
| |
| void | OnApplicationFocus (bool isFocused) |
| |
| void | ClientSessionStart (string entityId, string entityType, string playFabUserId) |
| |
| void | Send () |
| |
Class responsible for gathering and sending information about session, for example: focus duration, device info, etc.
◆ ClientSessionStart()
| void PlayFab.Public.ScreenTimeTracker.ClientSessionStart |
( |
string |
entityId, |
|
|
string |
entityType, |
|
|
string |
playFabUserId |
|
) |
| |
|
inline |
Start session, the function responsible for creating SessionID and gathering information about user and device.
- Parameters
-
| playFabUserId | Result of the user's login, represent user ID |
Implements PlayFab.Public.IScreenTimeTracker.
◆ OnApplicationFocus()
| void PlayFab.Public.ScreenTimeTracker.OnApplicationFocus |
( |
bool |
isFocused | ) |
|
|
inline |
Gather information about user's focus. Calculates interaction durations. Name mimics MonoBehaviour method, for ease of integration.
- Parameters
-
Implements PlayFab.Public.IScreenTimeTracker.
◆ OnApplicationQuit()
| void PlayFab.Public.ScreenTimeTracker.OnApplicationQuit |
( |
| ) |
|
|
inline |
Trying to send event during game exit. Note: works only on certain platforms. Name mimics MonoBehaviour method, for ease of integration.
Implements PlayFab.Public.IScreenTimeTracker.
◆ OnDestroy()
| void PlayFab.Public.ScreenTimeTracker.OnDestroy |
( |
| ) |
|
|
inline |
◆ OnDisable()
| void PlayFab.Public.ScreenTimeTracker.OnDisable |
( |
| ) |
|
|
inline |
◆ OnEnable()
| void PlayFab.Public.ScreenTimeTracker.OnEnable |
( |
| ) |
|
|
inline |
◆ Send()
| void PlayFab.Public.ScreenTimeTracker.Send |
( |
| ) |
|
|
inline |
The documentation for this class was generated from the following file:
- C:/Transhuman/S2/Assets/Plugins/Teal-Net/Plugins/PlayFabSDK/Entity/ScreenTimeTracker.cs