Captainup  2.4
Properties | List of all members
<CPTAction> Protocol Reference

#import <CPTAction.h>

Inheritance diagram for <CPTAction>:
<CPTObject> <CPTSocialFeedItem>

Properties

NSString * actionId
 
NSString * name
 
NSDate * timestamp
 
NSString * playerId
 
id< CPTActionableEntityentity
 
NSDictionary< NSString *, id< CPTCurrency > > * currencies
 
- 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

Actions are the backbone of the Captain Up platform. Apps can gain deep insights on their users based on their actions; segment, engage, interact and incentivize their users based on user behavior, and incentivize users with points, badges, levels, rewards and messages for doing these actions. Captain Up supports completely dynamic actions, and every site and app can create and customize their own actions and how the experience evolves around them. You might want to think of actions as natural-language sentences comprised of subject, verb, and object: In the sentence "The Captain liked Game of Thrones", The Captain is the subject – the user who did the action; liked is the verb, describing what type of action went on; and Game of Thrones is the object. involved in the action.Actions are the backbone of the Captain Up platform. Apps can gain deep insights on their users based on their actions; segment, engage, interact and incentivize their users based on user behavior, and incentivize users with points, badges, levels, rewards and messages for doing these actions. Captain Up supports completely dynamic actions, and every site and app can create and customize their own actions and how the experience evolves around them. You might want to think of actions as natural-language sentences comprised of subject, verb, and object: In the sentence "The Captain liked Game of Thrones", The Captain is the subject – the user who did the action; liked is the verb, describing what type of action went on; and Game of Thrones is the object. involved in the action.

Property Documentation

◆ actionId

- (NSString*) actionId
readnonatomicassign

The id of the action

◆ currencies

- (NSDictionary<NSString*,id<CPTCurrency> >*) currencies
readnonatomicassign

Action currencies

◆ entity

- (id<CPTActionableEntity>) entity
readnonatomicassign

The action object information

◆ name

- (NSString*) name
readnonatomicassign

The name of the action

◆ playerId

- (NSString*) playerId
readnonatomicassign

The ID of the user that did the action

◆ timestamp

- (NSDate*) timestamp
readnonatomicassign

The action timestamp. For Action requests (such as createAction), do not set this property (or set it to null). The timestamp property cannot be set from a mobile application.


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