PlaytoliaSession gives the profile of the current player. PlaytoliaSession syncs automatically after a login and after each profile change.
Getting the current user
Uid, PlayerId, Username, DisplayName, Email, Avatar (URL), Lang, Location, Timezone, CreatedAt
Listening to session changes
Updating profile
Profile updates are fire-and-forget. A listener on the session state shows you that the SDK applied the update.
Deleting an account
App Store and Google Play both require an in-game way to delete an account.RequestAccountDeletion covers it.
DeletionScheduledAt, and the player cancels the deletion simply by logging in again before then. That grace period is deliberate, so the SDK does not log the player out for you: call PlaytoliaAuth.Logout() yourself, as above, and send them back to the sign-in screen.
Social
Friends and player search
SDK Reference
PlaytoliaSession reference