Methods

String getAnonymousUserId ()

Get the anonymous user id from the VariantInfo object.

Returns:

The anonymous user id that was assigned at the time the VariantInfo was created.

@:dox(show) Int getCurrentPhase ()

Returns:

The current phase of this test. This is 1 if the test has not been modified since creation, and increments by 1 each time the test is modified (such as when the test's allocations have been changed). The phase ID does not reset * when a test is restarted.

@:dox(show) Int getCycle ()

Returns:

The cycle ID of this test. This is 1 if it's the initial test run, and increments by 1 each time the test is restarted or for if a non-proportional allocation change is made.

Int getExperimentId ()

Get the experiment ID from the VariantInfo object.

Returns:

The experiment ID.

String getExperimentName ()

Get the experiment name from the VariantInfo object.

Returns:

The experiment name as set on dashboard.

ApptimizeExperimentType getExperimentType ()

Get the experiment type from the VariantInfo object.

Returns:

The experiment type as set on dashboard.

String getExperimentTypeName ()

Get the experiment type name from the VariantInfo object.

Returns:

The experiment type as set on dashboard.

@:dox(show) Int getParticipationPhase ()

Returns:

The first phase in which this device participated in this test for this cycle. * If this test has not been participated in during this cycle, this value will be 0.

String getUserId ()

Get the user id from the VariantInfo object.

Returns:

The user id as set by the setUserId method when the VariantInfo was created.

@:dox(show) Int getVariantId ()

Get the variant ID from the VariantInfo object.

Returns:

The variant ID.

String getVariantName ()

Get the variant name from the VariantInfo object.

Returns:

The variant name as set on dashboard.