TRMeasure Class Reference

Inherits from NSObject
Conforms to NSSecureCoding
Declared in TRMeasure.h

Overview

A measure defines the triggering thresholds for a given survey. When one of the thresholds is exceeded, the Trigger Library will present an invitation to the user.

  surveyID

The name of the survey associated with this measure.

@property (nonatomic, copy) NSString *surveyID

Declared In

TRMeasure.h

  primaryCriteria

The measure’s triggering criteria. If any value in the primary criteria is exceeded, then the user becomes eligible to see a survey invitation.

@property (nonatomic, readonly) FSTriggerCriteria *primaryCriteria

Declared In

TRMeasure.h

  combinedCriteria

The measure’s combined triggering criteria (if any). In any single combined criteria, all values must be exceeded for the user to be eligible to see a survey invitaton.

@property (nonatomic, readonly) NSArray<FSTriggerCriteria*> *combinedCriteria

Declared In

TRMeasure.h