public class

ApptimizeInstantUpdateOrWinnerInfo

extends Object
java.lang.Object
   ↳ com.apptimize.ApptimizeInstantUpdateOrWinnerInfo

Class Overview

Information about a single Apptimize A/B test that this device is enrolled in.

Summary

Nested Classes
enum ApptimizeInstantUpdateOrWinnerInfo.Type  
Public Constructors
ApptimizeInstantUpdateOrWinnerInfo(ApptimizeInstantUpdateOrWinnerInfo.Type type, Long instantUpdateId, String instantUpdateName, Long winningTestId, String winningTestName, Long winningVariantId, String winningVariantName, String userId, String anonymousUserId)
Create a new ApptimizeInstantUpdateOrWinnerInfo object.
Public Methods
String getAnonymousUserId()
String getCustomerUserId()
Long getInstantUpdateId()
String getInstantUpdateName()
ApptimizeInstantUpdateOrWinnerInfo.Type getType()
Long getWinningTestId()
String getWinningTestName()
Long getWinningVariantId()
String getWinningVariantName()
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public ApptimizeInstantUpdateOrWinnerInfo (ApptimizeInstantUpdateOrWinnerInfo.Type type, Long instantUpdateId, String instantUpdateName, Long winningTestId, String winningTestName, Long winningVariantId, String winningVariantName, String userId, String anonymousUserId)

Create a new ApptimizeInstantUpdateOrWinnerInfo object.

Parameters
type Enumerated value indicating the type of object
instantUpdateId The id of the instant update otherwise null
instantUpdateName The name of instant update otherwise null
winningTestId The test id of the winning test otherwise null
winningTestName The test name of the winning test otherwise null
winningVariantId The variant id if this is a winner or null
winningVariantName The variant name if this is a winner or null
userId The userId of the enrolled user (may be null)
anonymousUserId The anonymous id of the enrolled user

Public Methods

public String getAnonymousUserId ()

Returns
  • The String anonymous user id of the user enrolled on the device.

public String getCustomerUserId ()

Returns
  • The current customer-specified String ID of the user currently enrolled on the device. This may be null if there is no customer specified ID.

public Long getInstantUpdateId ()

Returns
  • The Long id of the instant update otherwise null.

public String getInstantUpdateName ()

Returns
  • The String name of instant update otherwise null

public ApptimizeInstantUpdateOrWinnerInfo.Type getType ()

Returns

public Long getWinningTestId ()

Returns
  • The Long test id of the winning test otherwise null

public String getWinningTestName ()

Returns
  • The String test name of the winning test otherwise null

public Long getWinningVariantId ()

Returns
  • The Long ID of the winning Apptimize A/B test variant or null if this is an instant update.

public String getWinningVariantName ()

Returns
  • The String name of the winning Apptimize A/B test variant or null if this is an instant update.