CMStepQueryHandler
A block that reports the number of steps for a query operation.
Declaration
typealias CMStepQueryHandler = (Int, (any Error)?) -> VoidDiscussion
This block takes two parameters:
numberOfStepsThe number of steps that occurred between the start and end times specified by the query.
errorAn error object indicating that there was a problem gathering the data or
nilif the number of steps was determined correctly.