#import <OFChallengeDefinition.h>
Public Member Functions | |
(OFRequestHandle *) | - getIcon |
Static Public Member Functions | |
(void) | + setDelegate: |
(OFRequestHandle *) | + downloadAllChallengeDefinitions |
(OFRequestHandle *) | + downloadChallengeDefinitionWithId: |
(NSString *) | + getResourceName |
Protected Attributes | |
package NSString * | title |
OFPointer< OFHttpService > | mHttpService |
OFPointer < OFImageViewHttpServiceObserver > | mHttpServiceObserver |
Properties | |
NSString * | title |
BOOL | multiAttempt |
NSString * | clientApplicationId |
NSString * | iconUrl |
The public interface for OFChallengeDefinition allows you to see details on a challenge Definition. These are the objects related to the challenge types you've defined in the developer dashboard.
+ (OFRequestHandle*) downloadAllChallengeDefinitions |
download all challenge definitions
+ (OFRequestHandle*) downloadChallengeDefinitionWithId: | (NSString *) | challengeDefinitionId |
get a challenge definition from the server.
challengeDefinitionId | The resource id of the OFChallengeDefinition to return |
- (OFRequestHandle*) getIcon |
Get the challenge icon image
+ (NSString*) getResourceName |
+ (void) setDelegate: | (id< OFChallengeDefinitionDelegate >) | delegate |
Set a delegate for all OFChallengeDefinition related actions. Must adopt the OFChallengeDefinitionDelegate protocol.
- (OFPointer<OFHttpService>) mHttpService [protected] |
- (OFPointer<OFImageViewHttpServiceObserver>) mHttpServiceObserver [protected] |
- (package NSString*) title [protected] |
- (NSString *) clientApplicationId [read, assign] |
- (NSString *) iconUrl [read, assign] |
- (BOOL) multiAttempt [read, assign] |
Wether or not the receiver of this challenge can attempt it multiple times to complete.
- (NSString*) title [read, assign] |
The title defined on the developer dashboard for this challenge definition