Is there any way of calling this via Api calls if not using Unity SDK? Session lengths would be quite nice to track and also screen time (which is of course now 0 in the Dashboards for non Unity users).
Is there any way of calling this via Api calls if not using Unity SDK? Session lengths would be quite nice to track and also screen time (which is of course now 0 in the Dashboards for non Unity users).
As a matter of fact, the API call Unity SDK uses to track Session Duration/Focus change is Event/WriteEvents, there is nothing special about it. This is the code that Unity SDK uses to help to track Session Duration/Focus change: ScreenTimeTracker.cs. Therefore, in order to track this info in other SDKs, you can imitate what the Unity SDK does and implement it in other SDKs on your own.
3 People are following this question.