Captainup
2.4
|
#import <CPTApplication.h>
Instance Methods | |
(nonnull NSDictionary< NSString *, id< CPTAsset >> *) | - getAssetsByType: |
![]() | |
(nonnull instancetype) | - initWithDictionary: |
(nonnull NSDictionary< NSString *, id > *) | - toDictionary |
Properties | |
NSString * | appId |
NSString * | logoURL |
NSString * | name |
NSString * | applicationURL |
id< CPTGameCenter > | gameCenterDetails |
id< CPTTheme > | theme |
NSDictionary< NSString *, id< CPTBadge > > * | badges |
NSArray< id< CPTActionSettings > > * | actionSettings |
NSArray< id< CPTLevel > > * | levels |
NSUInteger | ratio |
NSDictionary< NSString *, id< CPTRewardType > > * | rewardTypes |
NSDictionary< NSString *, id< CPTAsset > > * | assets |
NSDictionary< NSString *, id< CPTCurrencySettings > > * | currencySettings |
![]() | |
NSDictionary< NSString *, id > * | sourceDictionary |
An app holds the information about the Captain Up experience in your site or app. The app resource holds all the settings and configurations related to your app, including information about the app's actions and levels
- (nonnull NSDictionary<NSString*,id<CPTAsset>>*) getAssetsByType: | (CPTAssetType) | type |
A map of application assets by asset type
type | CPTAssetType |
|
readnonatomicassign |
The app's action's settings.
|
readnonatomicassign |
The ID of the app.
|
readnonatomicassign |
The URL of the application.
|
readnonatomicassign |
A map of all the application assets by their Asset Type ID.
|
readnonatomicassign |
|
readnonatomicassign |
the app Currency Settings Map. where key is currency name and value is CPTCurrencySettings object.
|
readnonatomicassign |
The details of the app's game center display (like the title and text).
|
readnonatomicassign |
List of the app's levels
|
readnonatomicassign |
The URL to your app's logo. Will default to a community logo.
|
readnonatomicassign |
The name of the app.
|
readnonatomicassign |
App currency ratio (default is 1)
|
readnonatomicassign |
map of the app's reward types
|
readnonatomicassign |
The details of the theme defined for the app.