<GPGStatusDelegate> Protocol Reference

<GPGStatusDelegate> Protocol Reference

Overview

Called for GPG life cycle updates.

Public Member Functions

(void) - didFinishGamesSignInWithError:
 Sign in and prefetch operations have completed.
(void) - didFinishGamesSignOutWithError:
 Sign out operations have completed.
(void) - didFinishGoogleAuthWithError:
 When using signInWithClientID:silently:, this method will be called when Google+ authentication has completed.
(BOOL) - shouldReauthenticateWithError:
 Determines if the re-authentication flow should happen.
(void) - willReauthenticate:
 Called before re-authentication happens.
(void) - didDisconnectWithError:
 Called when finished disconnecting user from the app.

Member Function Documentation

- (void) didFinishGamesSignInWithError: (NSError *)  error [optional]

Sign in and prefetch operations have completed.

Parameters:
errorThe error object from the sign-in flow or nil if sign-in succeeded.
- (void) didFinishGamesSignOutWithError: (NSError *)  error [optional]

Sign out operations have completed.

Parameters:
errorThe error object from the sign-out flow or nil if sign-out succeeded.
- (void) didFinishGoogleAuthWithError: (NSError *)  error [optional]

When using signInWithClientID:silently:, this method will be called when Google+ authentication has completed.

This will not be called if using signIn.

Parameters:
errorThe error object or nil if operation succeeded.
- (BOOL) shouldReauthenticateWithError: (NSError *)  error [optional]

Determines if the re-authentication flow should happen.

Parameters:
errorThe error from the API call that leads to potential re-authentication.
Returns:
Whether re-authentication should procceed.
- (void) willReauthenticate: (NSError *)  error [optional]

Called before re-authentication happens.

Parameters:
errorThe error from the API call that leads to potential re-authentication.
- (void) didDisconnectWithError: (NSError *)  error [optional]

Called when finished disconnecting user from the app.

Parameters:
errornil if the operation was successful. Otherwise, the error returned from the server.

Оставить отзыв о...

Текущей странице
Play Games Services for iOS
Play Games Services for iOS