init(target:metric:)
Creates a new speed threshold alert.
Declaration
init(target: Measurement<UnitSpeed>, metric: WorkoutAlertMetric)Parameters
- target:
A speed measurement that represents the target threshold.
- metric:
The metric used to measure the speed.