ORKLocationRecorder Class Reference

Inherits from ORKRecorder : NSObject
Declared in ORKLocationRecorder.h

The ORKLocationRecorder class represents a recorder for collecting location data from CoreLocation.

Because location data is sensitive information, you need to take special care in handling it, including removoing or otherwise preparing it for a anonymous data set.

The accuracy of location data may be limited indoors.

– initWithIdentifier:step:outputDirectory:

Returns an initialized location recorder.

- (instancetype)initWithIdentifier:(NSString *)identifier step:(nullable ORKStep *)step outputDirectory:(nullable NSURL *)outputDirectory

Parameters

identifier

The unique identifier of the recorder (assigned by the recorder configuration).

step

The step that requested this recorder.

outputDirectory

The directory in which the location data should be stored.

Return Value

An initialized location recorder.

Declared In

ORKLocationRecorder.h

  locationManager

The location manager, if any, being used by this recorder.

@property (nonatomic, strong, nullable, readonly) CLLocationManager *locationManager

Declared In

ORKLocationRecorder.h