ORKEnvironmentSPLMeterStep Class Reference

Inherits from ORKActiveStep : ORKStep : NSObject
Declared in ORKEnvironmentSPLMeterStep.h
ORKEnvironmentSPLMeterStep.m

Other Methods

  thresholdValue

The maximum permissible value for the environment sound pressure level in dBA.

@property (nonatomic, assign) double thresholdValue

Declared In

ORKEnvironmentSPLMeterStep.h

  samplingInterval

The rate at which the AVAudioPCMBuffer is queried and A-weighted filter is applied.

@property (nonatomic, assign) NSTimeInterval samplingInterval

Declared In

ORKEnvironmentSPLMeterStep.h

  requiredContiguousSamples

The number of consecutive samples less than threshold value required for the step to proceed.

@property (nonatomic, assign) NSInteger requiredContiguousSamples

Declared In

ORKEnvironmentSPLMeterStep.h

Other Methods

+ stepViewControllerClass

+ (Class)stepViewControllerClass

Declared In

ORKStep.h

– initWithIdentifier:

- (instancetype)initWithIdentifier:(NSString *)identifier

Declared In

ORKStep.h

– validateParameters

Checks the parameters of the step and throws exceptions on invalid parameters.

- (void)validateParameters

Discussion

This method is called when there is a need to validate the step’s parameters, which is typically the case when adding a step to an ORKStepViewController object, and when presenting the step view controller.

Subclasses should override this method to provide validation of their additional properties, and must call super.

Declared In

ORKStep.h

– initWithCoder:

- (instancetype)initWithCoder:(NSCoder *)aDecoder

Declared In

ORKStep.h