Class

CMMovementDisorderManager

A manager for recording and querying movement disorders.

Declaration

class CMMovementDisorderManager : NSObject

Overview

Use CMMovementDisorderManager to measure resting Parkinsonian tremor in the 3-7 Hz range and choreiform dyskinetic symptoms. When collecting data, the user should wear Apple Watch on their most affected arm.

CMMovementDisorderManager requires an entitlement from Apple. To apply for the entitlement, see Movement Disorder Entitlement Request.

Topics

Checking Availablility

class func isAvailable() -> Bool

A Boolean value indicating whether the current device supports the movement disorder manager.

class func authorizationStatus() -> CMAuthorizationStatus

A value indicating whether the user has authorized the app to monitor and query for movement disorder data.

Recording Movement Disorders

func monitorKinesias(forDuration: TimeInterval)

Calculate and store tremor and dyskinetic symptom results for the duration of the specified time interval.

func monitorKinesiasExpirationDate() -> Date?

Returns the expiration date for the most recent monitoring period.

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.

typealias CMDyskineticSymptomResultHandler

A completion handler for processing dyskinetic symptom results.

func lastProcessedDate() -> Date?

Returns the date of the most recently calculated results.

Relationships

Inherits From

Conforms To

See Also

Movement Disorder Manager

Monitoring Movement Disorders

Use Apple Watch’s movement disorder manager to monitor symptoms.

Adhering to the Movement Disorder Data Collection Requirements

Ensure that your users understand and have control over the data your app collects.

class CMTremorResult

A result object that contains data about the presence and strength of tremors during a one-minute interval.

class CMDyskineticSymptomResult

A result object that contains data about the likely presence of dyskinetic symptoms during a one-minute interval.