Type Alias

CMTremorResultHandler

A completion handler for accessing and processing tremor results.

Declaration

typealias CMTremorResultHandler = ([CMTremorResult], Error?) -> Void

Parameters

tremorResult

An array of tremor results found by the query.

error

If an error occurred, this parameter contains information about the error; otherwise it is nil.

See Also

Querying for Movement Disorders

func queryTremor(from: Date, to: Date, withHandler: CMTremorResultHandler)

Query for tremor results from the provided time interval.

typealias CMDyskineticSymptomResultHandler

A completion handler for processing dyskinetic symptom results.

func lastProcessedDate() -> Date?

Returns the date of the most recently calculated results.