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 thresholdValueDeclared In
ORKEnvironmentSPLMeterStep.h
samplingInterval
The rate at which the AVAudioPCMBuffer is queried and A-weighted filter is applied.
@property (nonatomic, assign) NSTimeInterval samplingIntervalDeclared In
ORKEnvironmentSPLMeterStep.h
requiredContiguousSamples
The number of consecutive samples less than threshold value required for the step to proceed.
@property (nonatomic, assign) NSInteger requiredContiguousSamplesDeclared In
ORKEnvironmentSPLMeterStep.h
Other Methods
– initWithIdentifier:
- (instancetype)initWithIdentifier:(NSString *)identifierDeclared In
ORKStep.h
– validateParameters
Checks the parameters of the step and throws exceptions on invalid parameters.
- (void)validateParametersDiscussion
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