ORKTaskViewControllerFinishReason Constants Reference
| Declared in | ORKTaskViewController.h |
|---|
ORKTaskViewControllerFinishReason
The ORKTaskViewControllerFinishReason value indicates how the task view controller has finished
the task.
Definition
typedef NS_ENUM(NSInteger, ORKTaskViewControllerFinishReason ) {
ORKTaskViewControllerFinishReasonSaved,
ORKTaskViewControllerFinishReasonDiscarded,
ORKTaskViewControllerFinishReasonCompleted,
ORKTaskViewControllerFinishReasonFailed,
};
Constants
ORKTaskViewControllerFinishReasonSaved-
The task was canceled by the participant or the developer, and the participant asked to save the current result.
Declared In
ORKTaskViewController.h. ORKTaskViewControllerFinishReasonDiscarded-
The task was canceled by the participant or the developer, and the participant asked to discard the current result.
Declared In
ORKTaskViewController.h. ORKTaskViewControllerFinishReasonCompleted-
The task has completed successfully, because all steps have been completed.
Declared In
ORKTaskViewController.h. ORKTaskViewControllerFinishReasonFailed-
An error was detected during the current step.
Declared In
ORKTaskViewController.h.
Declared In
ORKTaskViewController.h