ORKAudioLevelNavigationRule Class Reference

Inherits from ORKStepNavigationRule : NSObject
Declared in ORKAudioLevelNavigationRule.h

– initWithAudioLevelStepIdentifier:destinationStepIdentifier:recordingSettings:

Returns an initialized direct-step navigation rule using the specified destination step identifier.

- (instancetype)initWithAudioLevelStepIdentifier:(NSString *)audioLevelStepIdentifier destinationStepIdentifier:(NSString *)destinationStepIdentifier recordingSettings:(NSDictionary *)recordingSettings

Parameters

audioLevelStepIdentifier

The identifier of the step with the audio file to check.

destinationStepIdentifier

The identifier of the destination step if audio test passes.

recordingSettings

Use key AVNumberOfChannelsKey to sepcify the number of recording channels.

Return Value

A audio level step navigation rule.

Declared In

ORKAudioLevelNavigationRule.h

– initWithCoder:

Returns a new direct-step navigation rule initialized from data in a given unarchiver.

- (instancetype)initWithCoder:(NSCoder *)aDecoder

Parameters

aDecoder

The coder from which to initialize the step navigation rule.

Return Value

A new direct-step navigation rule.

Declared In

ORKAudioLevelNavigationRule.h