# ApptimizeInstantUpdateOrWinnerInfo

    @protocol ApptimizeInstantUpdateOrWinnerInfo <NSObject>

Information about a single winning A/B test or instant update this device will display.

- `-isInstantUpdate`

  #### Declaration

  Objective-C

      - (BOOL)isInstantUpdate;

  Swift

      func isInstantUpdate() -> Bool

  #### Return Value

  Returns YES if this info represents an instant update, otherwise this object represents a winning experiment.

- `-winningExperimentName`

  #### Declaration

  Objective-C

      - (nonnull NSString *)winningExperimentName;

  Swift

      func winningExperimentName() -> String

  #### Return Value

  The experiment name of the winning experiment.

- `-winningExperimentID`

  #### Declaration

  Objective-C

      - (nonnull NSNumber *)winningExperimentID;

  Swift

      func winningExperimentID() -> NSNumber

  #### Return Value

  The experiment id of the winning experiment.

- `-instantUpdateName`

  #### Declaration

  Objective-C

      - (nonnull NSString *)instantUpdateName;

  Swift

      func instantUpdateName() -> String

  #### Return Value

  The name of the instant update.

- `-instantUpdateID`

  #### Declaration

  Objective-C

      - (nonnull NSNumber *)instantUpdateID;

  Swift

      func instantUpdateID() -> NSNumber

  #### Return Value

  The id of the instant update.

- `-winningVariantName`

  #### Declaration

  Objective-C

      - (nonnull NSString *)winningVariantName;

  Swift

      func winningVariantName() -> String

  #### Return Value

  If this is a winner, then this is the name of the winning variant. Otherwise it is null.

- `-winningVariantID`

  #### Declaration

  Objective-C

      - (nonnull NSNumber *)winningVariantID;

  Swift

      func winningVariantID() -> NSNumber

  #### Return Value

  If this is a winner, then this is the unique numeric ID of the winning variant. Otherwise it is null.

- `-startDate`

  #### Declaration

  Objective-C

      - (nullable NSDate *)startDate;

  Swift

      func startDate() -> Date?

  #### Return Value

  The date this device would start showing the winning variant or instant update.

- `-userID`

  #### Declaration

  Objective-C

      - (nullable NSString *)userID;

  Swift

      func userID() -> String?

  #### Return Value

  The user id of the user that will be shown the winning variant or instant update. If the user has not been set then the anonymous user id is used.

- `-anonymousUserID`

  #### Declaration

  Objective-C

      - (nonnull NSString *)anonymousUserID;

  Swift

      func anonymousUserID() -> String

  #### Return Value

  The anonymous user id currently assigned to this apptimize instance.

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

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