Type Alias

CMDyskineticSymptomResultHandler

A completion handler for processing dyskinetic symptom results.

Declaration

typealias CMDyskineticSymptomResultHandler = ([CMDyskineticSymptomResult], Error?) -> Void

Parameters

dyskineticSymptomResult

An array of dyskinetic symptom 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 CMTremorResultHandler

A completion handler for accessing and processing tremor results.

func lastProcessedDate() -> Date?

Returns the date of the most recently calculated results.