NTSpeechGrammarRule Class Reference

Inherits from NSObject
Declared in NTSpeechGrammarRule.h
NTSpeechGrammarRule.m

Other Methods

  name

@property (nonatomic, strong) NSString *name

  root

@property (nonatomic, strong) NTSpeechGrammarElement *root

  scope

@property (nonatomic) NTSpeechGrammarRuleScope scope

– initWithName:

- (instancetype)initWithName:(NSString *)name

– initWithName:rootElement:

- (instancetype)initWithName:(NSString *)name rootElement:(NTSpeechGrammarElement *)element

+ ruleWithName:

+ (NTSpeechGrammarRule *)ruleWithName:(NSString *)name

+ ruleWithName:root:

+ (NTSpeechGrammarRule *)ruleWithName:(NSString *)name root:(NTSpeechGrammarElement *)root

+ publicRuleWithName:

+ (NTSpeechGrammarRule *)publicRuleWithName:(NSString *)name

+ publicRuleWithName:root:

+ (NTSpeechGrammarRule *)publicRuleWithName:(NSString *)name root:(NTSpeechGrammarElement *)root

Other Methods

– init

- (instancetype)init