共用方式為


Class SPXGrammarPhrase

Declaration

@class SPXGrammarPhrase : NSObject;

Description

Represents a phrase that may be spoken by the user.

Added in version 1.5.0.

Methods

initWithText:

Initialize the phrase with a given text.

- (instancetype _Nullable)initWithText:(NSString * _Nonnull)value

Parameters

  • value - an utterance.