<GCKRequestDelegate> Protocol

  • The GCKRequestDelegate protocol is used to track the status of asynchronous GCKRequest objects.

  • Delegate methods are called when a request successfully completes, fails with an error, or is no longer being tracked.

  • The delegate methods provide information about the request and the reason for its status change.

<GCKRequestDelegate> Protocol Reference

Overview

The GCKRequest delegate protocol.

Since
3.0

Inherits <NSObjectNSObject>.

Instance Method Summary

(void) 
Called when the request has successfully completed. More...
Called when the request has failed. More...
Called when the request is no longer being tracked. More...

Method Detail

- (void) requestDidComplete: ( GCKRequest *)  request
optional

Called when the request has successfully completed.

Parameters
request
The request.
- (void) request: ( GCKRequest *)  request
didFailWithError: ( GCKError *)  error
optional

Called when the request has failed.

Parameters
request The request.
error The error describing the failure.
- (void) request: ( GCKRequest *)  request
didAbortWithReason: (GCKRequestAbortReason)  abortReason
optional

Called when the request is no longer being tracked.

It does not guarantee that the request has succeed or failed.

Parameters
request The request.
abortReason The reason why the request is no longer being tracked.
Create a Mobile Website
View Site in Mobile | Classic
Share by: