Contents

cadence(_:unit:)

Returns a new cadence threshold alert for the target value.

Declaration

static func cadence(_ value: Double, unit: UnitFrequency = WorkoutAlertMetric.countPerMinute) -> Self

Parameters

  • value:

    The threshold’s value.

  • unit:

    The frequency units used by the threshold’s value.

See Also

Creating new cadence threshold alerts