PFAuthenticationLoginWithGoogleAccountGetResultSize

Get the size in bytes needed to store the result of a PFAuthenticationLoginWithGoogleAccountAsync call.

Syntax

HRESULT PFAuthenticationLoginWithGoogleAccountGetResultSize(  
    XAsyncBlock* async,  
    size_t* bufferSize  
)  

Parameters

async   XAsyncBlock*
Inout

XAsyncBlock for the async operation.

bufferSize   size_t*
output

The buffer size in bytes required for the result.

Return value

Type: HRESULT

Result code for this API operation. If the service call is unsuccessful, the result will be E_PF_ENCRYPTION_KEY_MISSING, E_PF_EVALUATION_MODE_PLAYER_COUNT_EXCEEDED, E_PF_GOOGLE_O_AUTH_ERROR, E_PF_GOOGLE_O_AUTH_NO_ID_TOKEN_INCLUDED_IN_RESPONSE, E_PF_GOOGLE_O_AUTH_NOT_CONFIGURED_FOR_TITLE, E_PF_INVALID_GOOGLE_TOKEN, E_PF_PLAYER_SECRET_ALREADY_CONFIGURED, E_PF_PLAYER_SECRET_NOT_CONFIGURED, E_PF_REQUEST_VIEW_CONSTRAINT_PARAMS_NOT_ALLOWED or any of the global PlayFab Service errors. See doc page "Handling PlayFab Errors" for more details on error handling.

Requirements

Header: PFAuthentication.h

See also

PFAuthentication members