Protocol: SKRequestDelegate

Overview

The SKRequestDelegate protocol declares common methods that are implemented by delegates for any subclass of the SKRequest abstract class.Called if the request failed to execute.Called when the request has completed.

Instance Method Summary (collapse)

Instance Method Details

- (Object) request(request, didFailWithError:error)

Called if the request failed to execute. When the request fails, your application should release the request. The requestDidFinish: method is not called after this method is called.

Parameters:

  • request (SKRequest)

    The request that failed.

  • error (NSError)

    The error that caused the request to fail.

Returns:

- (Object) requestDidFinish(request)

Called when the request has completed. This method is called after all processing of the request has been completed. Typically, subclasses of SKRequest require the delegate to implement additional methods to receive the response. When this method is called, your delegate receives no further communication from the request and can release it.

Parameters:

  • request (SKRequest)

    The request that completed.

Returns: