Method | Description | |
---|---|---|
AddGrammar ( string name, string xml ) : void |
Adds a new grammar to the SREs
|
|
AddInputMic ( string instance, |
Adds a new microphone instance
|
|
RemoveGrammar ( string name ) : void |
Removes a grammar from the SREs
|
|
RemoveInputMic ( string instance ) : void |
Removes a microphone
|
|
SpeechClient ( string manifest ) : System |
Constructor for Speech client
|
Method | Description | |
---|---|---|
AppDependency ( dynamic message ) : void |
Called when APP_DEPENDENCY is received
|
|
AppManifestOk ( dynamic message ) : void |
Called when APP_MANIFEST_OK is received
|
|
MsgBroadcast ( dynamic message ) : void |
Called when MSG_BROADCAST is received
|
|
MsgQuery ( dynamic message ) : void |
Called when MSG_QUERY is received
|
Method | Description | |
---|---|---|
DepenedencyHelper ( dynamic dep, bool shouldBeOn ) : void |
Helper method for dependencies
|
|
RecognitionHandler ( object sender, SpeechRecognizedEventArgs arg ) : void |
Called when speech is recognized
|
|
RecognitionRejectedHandler ( object sender, SpeechRecognitionRejectedEventArgs e ) : void |
Called when speech is rejected
|
public AddGrammar ( string name, string xml ) : void | ||
name | string | the name of the grammar |
xml | string | the grammar xml string |
return | void |
public AddInputMic ( string instance, |
||
instance | string | The instance id of the microphone |
client | ||
status | string | The status of the microphone |
shouldBeOn | bool | Whether the speech recognition engine should be turned on |
return | void |
protected AppDependency ( dynamic message ) : void | ||
message | dynamic | The message received |
return | void |
protected AppManifestOk ( dynamic message ) : void | ||
message | dynamic | The message received |
return | void |
protected MsgBroadcast ( dynamic message ) : void | ||
message | dynamic | The message received |
return | void |
protected MsgQuery ( dynamic message ) : void | ||
message | dynamic | The message received |
return | void |
public RemoveGrammar ( string name ) : void | ||
name | string | the name of the grammar |
return | void |
public RemoveInputMic ( string instance ) : void | ||
instance | string | The instance ID of a microphone |
return | void |
public SpeechClient ( string manifest ) : System | ||
manifest | string | path to the app manifest |
return | System |