STSRTaskHint Constants Reference
| Declared in | STMediaParams_doc.h |
STSRTaskHint
Supported by Apple Speech only.
This enumerator defines the types of speech, also referred to as Speech Recognition Hints (SRHINT), that can be performed by Apple Speech engine. STMediaRunner module provides support for Apple Speech task hints. For more information please visit Apple Speech Task Hints.
Definition
enum STSRTaskHint: Int {
case SRHINT_UNSPECIFIED = 0,
SRHINT_DICTATION = 1,
SRHINT_SEARCH = 2,
SRHINT_CONFIRMATION = 3
}
Constants
case SRHINT_UNSPECIFIED-
The type of recognition requested is unspecified.
Declared In
STMediaParams_doc.h. case SRHINT_DICTATION-
The request is for recognition of general dictation.
Declared In
STMediaParams_doc.h. case SRHINT_SEARCH-
The request is for recognition of utterances that represent search actions.
Declared In
STMediaParams_doc.h. case SRHINT_CONFIRMATION-
The request is for recognition of a short utterance that represents a confirmation, such as “yes,” “no,” or “maybe.”
Declared In
STMediaParams_doc.h.
Declared In
STMediaParams_doc.h