ApptimizeTestInfo Protocol Reference
Conforms to | NSObject |
---|---|
Declared in | Apptimize.h |
– testName
required method
– enrolledVariantName
required method
The name of the variant of this test that this device is enrolled in
- (NSString *)enrolledVariantName
Discussion
The name of the variant of this test that this device is enrolled in
Declared In
Apptimize.h
– testID
required method
– enrolledVariantID
required method
The unique ID of the currently-enrolled test variant
- (NSNumber *)enrolledVariantID
Return Value
The unique ID of the currently-enrolled test variant
Declared In
Apptimize.h
– testStartedDate
required method
Returns the date this Apptimize test was started. Note that this is the time as reported by Apptimize’s servers and is not affected by changes in the device’s clock.
- (NSDate *)testStartedDate
Return Value
The date this Apptimize test was started
Discussion
Returns the date this Apptimize test was started. Note that this is the time as reported by Apptimize’s servers and is not affected by changes in the device’s clock.
Declared In
Apptimize.h
– testEnrolledDate
required method
Returns the datethis device was enrolled into this A/B test. Note that unlike the return value for testStartedDate this is the time as reported by the device, and not the time as reported by Apptimize’s server. This difference is relevant if the device’s clock is inaccurate.
- (NSDate *)testEnrolledDate
Return Value
The date this device was enrolled into this A/B test
Discussion
Returns the datethis device was enrolled into this A/B test. Note that unlike the return value for testStartedDate this is the time as reported by the device, and not the time as reported by Apptimize’s server. This difference is relevant if the device’s clock is inaccurate.
Declared In
Apptimize.h
– userHasParticipated
required method
Returns whether the user has participated in this test during this session. For code block tests, this indicates that a codeblock has been executed for this test. For visual tests, this indicates that at least one changed element has been seen. For dynamic variable tests, this indicates that the value of a variable has been queried and used.
- (BOOL)userHasParticipated
Discussion
Returns whether the user has participated in this test during this session. For code block tests, this indicates that a codeblock has been executed for this test. For visual tests, this indicates that at least one changed element has been seen. For dynamic variable tests, this indicates that the value of a variable has been queried and used.
Declared In
Apptimize.h