Public Member Functions

<OFChallengeDefinitionDelegate> Protocol Reference

#import <OFChallengeDefinition.h>

List of all members.

Public Member Functions

(void) - didDownloadAllChallengeDefinitions:
(void) - didFailDownloadChallengeDefinitions
(void) - didDownloadChallengeDefinition:
(void) - didFailDownloadChallengeDefinition
(void) - didGetIcon:OFChallengeDefintion:
(void) - getFailGetIconOFChallengeDefinition:

Detailed Description

Adopt the OFChallengeDefinitionDelegate Protocol to receive information regarding OFChallengeDefinition. You must call OFChallengeDefinition's +(void)setDelegate: method to receive information.


Member Function Documentation

- (void) didDownloadAllChallengeDefinitions: (NSArray *)  challengeDefinitions [optional]

Invoked by an OFChallengeDefinition class when downloadAllChallengeDefinitions successfully completes.

- (void) didDownloadChallengeDefinition: (OFChallengeDefinition *)  challengeDefinition [optional]

Invoked by an OFChallengeDefinition class when downloadChallengeDefinitionWithId successfully completes.

- (void) didFailDownloadChallengeDefinition [optional]

Invoked by an OFChallengeDefinition class when downloadChallengeDefinitionWithId fails

- (void) didFailDownloadChallengeDefinitions [optional]

Invoked by an OFChallengeDefinition class when downloadAllChallengeDefinitions fails

- (void) didGetIcon: (UIImage *)  image
OFChallengeDefintion: (OFChallengeDefinition *)  challengeDef 
[optional]

Invoked when getIcon completes successfully

Parameters:
imageThe icon image for the challenge Definition
challengeDefThe challenge definition the image belongs to.
- (void) getFailGetIconOFChallengeDefinition: (OFChallengeDefinition *)  challengeDef [optional]

Invoked when getIcon fails

Parameters:
challengeDefThe OFChallengeDefinition for which the image was requested.

The documentation for this protocol was generated from the following file:
 All Classes Files Functions Variables Enumerations Enumerator Properties