Class

HKSeriesBuilder

An abstract base class for building series samples.

Declaration

@interface HKSeriesBuilder : NSObject

Overview

Never instantiate HKSeriesBuilder objects directly. Instead, user one of the concrete subclasses (for example, the HKWorkoutRouteBuilder class).

Topics

Managing Series Generation

- discard

Invalidates the builder and discards the collected data.

Relationships

Inherits From

See Also

Route Data

Creating a Workout Route

Record the user’s route during a workout.

Reading Route Data

Access the user’s route for a workout.

HKWorkoutRouteBuilder

A builder object that incrementally constructs a workout route.

HKWorkoutRoute

A sample that contains a workout’s route data.

HKWorkoutRouteQuery

A query to access the location data stored in a workout route.

HKWorkoutRouteTypeIdentifier

A series sample containing location data that defines the route the user took during a workout.

HKSeriesSample

An abstract base class that defines samples that contain a series of items.