google::play::games::recall::GamesRecallClient

#include <games/recall/client.h>

Entrypoint for the Google Play Games Services Recall API.

Summary

The Recall API lets games with their own sign-in system to offer a more seamless sign-in experience for Google Play Games Services users.

It does this by allowing the game to manage links between its own in-game accounts and Google Play Games Services (PGS) users. These links can queried by the game's server to streamline the sign-in process for returning users across different devices or after reinstalling the game on the same device.

Constructors and Destructors

GamesRecallClient()
~GamesRecallClient()

Public functions

RequestRecallAccess(RequestRecallAccessContinuation continuation)
void
Requests recall access from Play Games Services.

Public functions

GamesRecallClient

 GamesRecallClient()

RequestRecallAccess

void RequestRecallAccess(
  RequestRecallAccessContinuation continuation
)

Requests recall access from Play Games Services.

If successful, returns a recall session ID which can be used by your backend to make server-side calls to Google for linking & unlinking your in-game accounts with a Play Games Services user.

For first-time users, use the recall session ID to link their in-game account with a Play Games Services user. This sets up the user for a seamless sign-in experience when they return to your game across different devices or after reinstalling your game on the same device.

For returning users, use the recall session ID to resolve which in-game account is already linked and seamlessly restore the user's progress without requiring them to sign-in to their in-game account again.

Details
Parameters
continuation
The continuation callback.

~GamesRecallClient

 ~GamesRecallClient()