Captainup  2.4
Properties | List of all members
<CPTBadgeProgress> Protocol Reference
Inheritance diagram for <CPTBadgeProgress>:
<CPTObject> CPTBadgeProgress CPTBadgeProgressDictionary

Properties

double progress
 
NSUInteger completedConditionsCount
 
NSDictionary< NSString *, id< CPTConditionProgress > > * conditionProgress
 
NSUInteger timesCompleted
 
NSDate * completedDate
 
NSDictionary< NSString *, id< CPTRewardProgress > > * rewardProgress
 
- Properties inherited from <CPTObject>
NSDictionary< NSString *, id > * sourceDictionary
 

Additional Inherited Members

- Instance Methods inherited from <CPTObject>
(nonnull instancetype) - initWithDictionary:
 
(nonnull NSDictionary< NSString *, id > *) - toDictionary
 

Detailed Description

Property Documentation

◆ completedConditionsCount

- (NSUInteger) completedConditionsCount
readnonatomicassign

The number of conditions completed

◆ completedDate

- (NSDate*) completedDate
readnonatomicassign

The latest date the badge was completed on or nil if the badge is not yet completed.

◆ conditionProgress

- (NSDictionary<NSString*,id<CPTConditionProgress> >*) conditionProgress
readnonatomicassign

The badge's conditions progress

◆ progress

- (double) progress
readnonatomicassign

The user’s badge progress, as a number between 0 and 1. Completed badges will have 1 as their progress, badges with no progress will have 0 as their progress. For example, if the user visited one time, out of a total of four required visits, then the progress will be set to 0.25.

◆ rewardProgress

- (NSDictionary<NSString*,id<CPTRewardProgress> >*) rewardProgress
readnonatomicassign

The badge's rewards progress

◆ timesCompleted

- (NSUInteger) timesCompleted
readnonatomicassign

The number of times the badge was completed


The documentation for this protocol was generated from the following file: