ORKRecorderTests Class Reference

Inherits from XCTestCase
Conforms to ORKRecorderDelegate
Declared in ORKRecorderTests.m

– recorder:didCompleteWithResult:

Tells the delegate that the recorder has completed with the specified result.

- (void)recorder:(ORKRecorder *)recorder didCompleteWithResult:(ORKResult *)result

Parameters

recorder

The generating recorder object.

result

The generated result.

Discussion

Typically, this method is called once when recording is stopped.

Declared In

ORKRecorder.h

– recorder:didFailWithError:

Tells the delegate that recording failed.

- (void)recorder:(ORKRecorder *)recorder didFailWithError:(NSError *)error

Parameters

recorder

The generating recorder object.

error

The error that occurred.

Discussion

Typically, this method is called once when the error occurred.

Declared In

ORKRecorder.h