speed(_:unit:metric:)
Creates a new speed threshold alert.
Declaration
static func speed(_ value: Double, unit: UnitSpeed, metric: WorkoutAlertMetric = .current) -> SelfParameters
- value:
The threshold value.
- unit:
The speed units used by the threshold value.
- metric:
The metric used to measure the speed.