question

FENG LI avatar image
FENG LI asked

Playsteam session_started session_ended to count the duration of player's play time?

Is that doable, or how playfab count the average duration in the dashboard ANALYZE page?

What we need is to find a way to count the duration of player's play time, thanks.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Citrus Yan avatar image
Citrus Yan answered

Currently, it's a built-in feature in our Unity SDK , basically what it does to do send notifications to PlayFab service to indicate the start and stop of actual screentime (whenever possible). Implementation can be found in here: UnitySDK/ScreenTimeTracker.cs at 30354c98da22f4b7d2662e5ad5938e43ac658db0 PlayFab/UnitySDK (github.com). For other platforms, you'd need to implement this by yourself.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.