ORKPredefinedTaskOption Constants Reference

Declared in ORKTypes.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 ORKTypes.h.

ORKPredefinedTaskOptionExcludeInstructions

Exclude the initial instruction steps.

Declared In ORKTypes.h.

ORKPredefinedTaskOptionExcludeConclusion

Exclude the conclusion step.

Declared In ORKTypes.h.

ORKPredefinedTaskOptionExcludeAccelerometer

Exclude accelerometer data collection.

Declared In ORKTypes.h.

ORKPredefinedTaskOptionExcludeDeviceMotion

Exclude device motion data collection.

Declared In ORKTypes.h.

ORKPredefinedTaskOptionExcludePedometer

Exclude pedometer data collection.

Declared In ORKTypes.h.

ORKPredefinedTaskOptionExcludeLocation

Exclude location data collection.

Declared In ORKTypes.h.

ORKPredefinedTaskOptionExcludeHeartRate

Exclude heart rate data collection.

Declared In ORKTypes.h.

ORKPredefinedTaskOptionExcludeAudio

Exclude audio data collection.

Declared In ORKTypes.h.

Declared In

ORKTypes.h