ORKTouchRecorder Class Reference
| Inherits from | ORKRecorder : NSObject |
|---|---|
| Declared in | ORKTouchRecorder.h ORKTouchRecorder.m |
Overview
The ORKTouchRecorder class defines the attributes and behavior of touch events recorder.
This class is considered private because its interface is not yet considered stable. It is not currently used by any of the pre-defined active tasks.
Other Methods
– viewController:willStartStepWithView:
A preparation step to provide viewController and view before record starting.
- (void)viewController:(UIViewController *)viewController willStartStepWithView:(UIView *)viewParameters
viewController |
The view controller that is about to ‘start’ |
|---|---|
view |
Primary active view for the step. |
Discussion
The step view controller should call this method before starting the recorder, so that recorders that need a view or gesture recognizer in order to function can attach themselves.
Declared In
ORKRecorder_Private.h
– stop
Stops data recording, which generally triggers the return of results.
- (void)stopDiscussion
If an error occurs when stopping the recorder, it is returned through the delegate.
Subclasses should call finishRecordingWithError: rather than calling super.
Declared In
ORKRecorder.h
Other Methods
touchView
The ORKTouchRecorder attaches a gesture recognizer to touchView to receive touch events.
@property (nonatomic, strong, readonly, nullable) UIView *touchViewDiscussion
Use viewController:willStartStepWithView: to set the touchView property before
the touch recorder starts.
Declared In
ORKTouchRecorder.h