java.lang.Object |
↳ |
com.apptimize.ApptimizeInstantUpdateOrWinnerInfo |
Class Overview
Information about a single Apptimize A/B test that this device is enrolled
in.
Summary
[Expand]
Inherited Methods |
From class
java.lang.Object
boolean
|
equals(Object arg0)
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
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
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.