ORKPredefinedTaskOption Constants Reference

Declared in ORKOrderedTask.h

ORKPredefinedTaskOption

The ORKPredefinedTaskOption flags let you exclude particular behaviors from the predefined active tasks in the predefined category of ORKOrderedTask.

By default, all predefined tasks include instructions and conclusion steps, and may also include one or more data collection recorder configurations. Although not all predefined tasks include all of these data collection types, the predefined task option flags can be used to explicitly specify that a task option not be included.

Definition

typedef NS_OPTIONS(NSUInteger, ORKPredefinedTaskOption ) {
   ORKPredefinedTaskOptionNone = 0,
   ORKPredefinedTaskOptionExcludeInstructions = ( 1 < < 0 ),
   ORKPredefinedTaskOptionExcludeConclusion = ( 1 < < 1 ),
   ORKPredefinedTaskOptionExcludeAccelerometer = ( 1 < < 2 ),
   ORKPredefinedTaskOptionExcludeDeviceMotion = ( 1 < < 3 ),
   ORKPredefinedTaskOptionExcludePedometer = ( 1 < < 4 ),
   ORKPredefinedTaskOptionExcludeLocation = ( 1 < < 5 ),
   ORKPredefinedTaskOptionExcludeHeartRate = ( 1 < < 6 ),
   ORKPredefinedTaskOptionExcludeAudio = ( 1 < < 7 ),
};

Constants

ORKPredefinedTaskOptionNone

Default behavior.

Declared In ORKOrderedTask.h.

ORKPredefinedTaskOptionExcludeInstructions

Exclude the initial instruction steps.

Declared In ORKOrderedTask.h.

ORKPredefinedTaskOptionExcludeConclusion

Exclude the conclusion step.

Declared In ORKOrderedTask.h.

ORKPredefinedTaskOptionExcludeAccelerometer

Exclude accelerometer data collection.

Declared In ORKOrderedTask.h.

ORKPredefinedTaskOptionExcludeDeviceMotion

Exclude device motion data collection.

Declared In ORKOrderedTask.h.

ORKPredefinedTaskOptionExcludePedometer

Exclude pedometer data collection.

Declared In ORKOrderedTask.h.

ORKPredefinedTaskOptionExcludeLocation

Exclude location data collection.

Declared In ORKOrderedTask.h.

ORKPredefinedTaskOptionExcludeHeartRate

Exclude heart rate data collection.

Declared In ORKOrderedTask.h.

ORKPredefinedTaskOptionExcludeAudio

Exclude audio data collection.

Declared In ORKOrderedTask.h.

Declared In

ORKOrderedTask.h