AWSPinpointTargetingMetricDimension

Objective-C

@interface AWSPinpointTargetingMetricDimension

Swift

class AWSPinpointTargetingMetricDimension

Specifies metric-based criteria for including or excluding endpoints from a segment. These criteria derive from custom metrics that you define for endpoints.

Required parameters: [ComparisonOperator, Value]

  • The operator to use when comparing metric values. Valid values are: GREATER_THAN, LESS_THAN, GREATER_THAN_OR_EQUAL, LESS_THAN_OR_EQUAL, and EQUAL.

    Declaration

    Objective-C

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

    Swift

    var comparisonOperator: String? { get set }
  • The value to compare.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable value;

    Swift

    var value: NSNumber? { get set }