AWSPinpointTargetingConditionalSplitActivity

Objective-C

@interface AWSPinpointTargetingConditionalSplitActivity

Swift

class AWSPinpointTargetingConditionalSplitActivity

Specifies the settings for a yes/no split activity in a journey. This type of activity sends participants down one of two paths in a journey, based on conditions that you specify.

To create yes/no split activities that send participants down different paths based on push notification events (such as Open or Received events), your mobile app has to specify the User ID and Endpoint ID values. For more information, see Integrating Amazon Pinpoint with your application in the Amazon Pinpoint Developer Guide.

  • The conditions that define the paths for the activity, and the relationship between the conditions.

    Declaration

    Objective-C

    @property (nonatomic, strong) AWSPinpointTargetingCondition *_Nullable condition;

    Swift

    var condition: AWSPinpointTargetingCondition? { get set }
  • The amount of time to wait before determining whether the conditions are met, or the date and time when Amazon Pinpoint determines whether the conditions are met.

    Declaration

    Objective-C

    @property (nonatomic, strong) AWSPinpointTargetingWaitTime *_Nullable evaluationWaitTime;

    Swift

    var evaluationWaitTime: AWSPinpointTargetingWaitTime? { get set }
  • The unique identifier for the activity to perform if the conditions aren’t met.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable falseActivity;

    Swift

    var falseActivity: String? { get set }
  • The unique identifier for the activity to perform if the conditions are met.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable trueActivity;

    Swift

    var trueActivity: String? { get set }