ORKSpeechRecognitionStep Class Reference
Inherits from | ORKActiveStep : ORKStep : NSObject |
---|---|
Declared in | ORKSpeechRecognitionStep.h ORKSpeechRecognitionStep.m |
Other Methods
– 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
– shouldContinueOnFinish
A Boolean value indicating whether to transition automatically when the step finishes.
- (BOOL)shouldContinueOnFinish
Discussion
When the value of this property is YES
, the active step view controller automatically performs the
continue action when the [ORKActiveStepViewController finish]
method
is called.
The default value of this property is NO
.
Declared In
ORKActiveStep.h
Other Methods
speechRecognizerLocale
The language for speech recognition
@property (nonatomic, copy) ORKSpeechRecognizerLocale speechRecognizerLocale
Discussion
The default value of this property is @“en-US”.
Declared In
ORKSpeechRecognitionStep.h
shouldHideTranscript
The property to hide transcription as the user speaks.
@property (nonatomic) BOOL shouldHideTranscript
Declared In
ORKSpeechRecognitionStep.h