NTSpeechGrammarRuleReference Class Reference

Inherits from NTSpeechGrammarElement : NSObject
Declared in NTSpeechGrammarRuleReference.h
NTSpeechGrammarRuleReference.m

  referencedRuleName

Name of the referenced Rule. If referencedRule is not nil, the name of this rule is returned.

@property (nonatomic, strong) NSString *referencedRuleName

Discussion

Name of the referenced Rule. If referencedRule is not nil, the name of this rule is returned.

Declared In

NTSpeechGrammarRuleReference.h

  referencedRule

@property (nonatomic, strong) NTSpeechGrammarRule *referencedRule

– initWithRuleName:

- (instancetype)initWithRuleName:(NSString *)name

– initWithRule:

- (instancetype)initWithRule:(NTSpeechGrammarRule *)rule

+ referenceWithRuleName:

+ (NTSpeechGrammarRuleReference *)referenceWithRuleName:(NSString *)name

+ referenceWithRule:

+ (NTSpeechGrammarRuleReference *)referenceWithRule:(NTSpeechGrammarRule *)rule