ApptimizeInstantUpdateOrWinnerInfo
@protocol ApptimizeInstantUpdateOrWinnerInfo <NSObject>
Information about a single winning A/B test or instant update this device will display.
-
Declaration
Objective-C
- (BOOL)isInstantUpdate;Swift
func isInstantUpdate() -> BoolReturn Value
Returns YES if this info represents an instant update, otherwise this object represents a winning experiment.
-
Declaration
Objective-C
- (nonnull NSString *)winningExperimentName;Swift
func winningExperimentName() -> StringReturn Value
The experiment name of the winning experiment.
-
Declaration
Objective-C
- (nonnull NSNumber *)winningExperimentID;Swift
func winningExperimentID() -> NSNumberReturn Value
The experiment id of the winning experiment.
-
Declaration
Objective-C
- (nonnull NSString *)instantUpdateName;Swift
func instantUpdateName() -> StringReturn Value
The name of the instant update.
-
Declaration
Objective-C
- (nonnull NSNumber *)instantUpdateID;Swift
func instantUpdateID() -> NSNumberReturn Value
The id of the instant update.
-
Declaration
Objective-C
- (nonnull NSString *)winningVariantName;Swift
func winningVariantName() -> StringReturn Value
If this is a winner, then this is the name of the winning variant. Otherwise it is null.
-
Declaration
Objective-C
- (nonnull NSNumber *)winningVariantID;Swift
func winningVariantID() -> NSNumberReturn Value
If this is a winner, then this is the unique numeric ID of the winning variant. Otherwise it is null.
-
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.
-
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.
-
Declaration
Objective-C
- (nonnull NSString *)anonymousUserID;Swift
func anonymousUserID() -> StringReturn Value
The anonymous user id currently assigned to this apptimize instance.
ApptimizeInstantUpdateOrWinnerInfo Protocol Reference