UnenrollmentReason

enum UnenrollmentReason : NSInteger {}

@enum UnenrollmentReason @abstract This enumerated type is used to indicate why the user has been unenrolled from a given experiment.

  • The experiment has been stopped in the dashboard.

    Declaration

    Objective-C

    UnenrollmentReasonExperimentStopped

    Swift

    case experimentStopped = 0
  • The experiment has been stopped and a winner selected in the dashboard.

    Declaration

    Objective-C

    UnenrollmentReasonExperimentWinnerSelected

    Swift

    case experimentWinnerSelected = 1
  • The variant that the user has been enrolled in has changed, therefore the user * has been unenrolled from the old variant.

    Declaration

    Objective-C

    UnenrollmentReasonVariantChanged

    Swift

    case variantChanged = 2
  • The user ID has been changed by calling the setUserId method.

    Declaration

    Objective-C

    UnenrollmentReasonUserIdChanged

    Swift

    case userIdChanged = 3
  • The user is no longer enrolled in the experiment for some other reason, such * as a change in the device or custom properties.

    Declaration

    Objective-C

    UnenrollmentReasonOther

    Swift

    case other = 4
  • The reason for unenrollment could not be determined.

    Declaration

    Objective-C

    UnenrollmentReasonUnknown

    Swift

    case unknown = 5