# UnenrollmentReason

    enum UnenrollmentReason : NSInteger {}

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

- `UnenrollmentReasonExperimentStopped`

  The experiment has been stopped in the dashboard.

  #### Declaration

  Objective-C

      UnenrollmentReasonExperimentStopped

  Swift

      case experimentStopped = 0

- `UnenrollmentReasonExperimentWinnerSelected`

  The experiment has been stopped and a winner selected in the dashboard.

  #### Declaration

  Objective-C

      UnenrollmentReasonExperimentWinnerSelected

  Swift

      case experimentWinnerSelected = 1

- `UnenrollmentReasonVariantChanged`

  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

- `UnenrollmentReasonUserIdChanged`

  The user ID has been changed by calling the setUserId method.

  #### Declaration

  Objective-C

      UnenrollmentReasonUserIdChanged

  Swift

      case userIdChanged = 3

- `UnenrollmentReasonOther`

  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

- `UnenrollmentReasonUnknown`

  The reason for unenrollment could not be determined.

  #### Declaration

  Objective-C

      UnenrollmentReasonUnknown

  Swift

      case unknown = 5

© 2025 Apptimize Inc.. All rights reserved. (Last updated: 2025-10-10)

Generated by jazzy ♪♫ v0.14.3, a Realm project.