-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: moved AutosuggestInputType to a namespace
- Loading branch information
1 parent
4bd6188
commit f4b32b2
Showing
2 changed files
with
46 additions
and
44 deletions.
There are no files selected for viewing
82 changes: 42 additions & 40 deletions
82
what3words.dotnet.wrapper/request/AutosuggestInputType.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,44 @@ | ||
#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member | ||
public enum AutosuggestInputType | ||
namespace what3words.dotnet.wrapper.request | ||
{ | ||
/** | ||
* Text typed by a user, e.g.'index.home.raf'. Default setting. | ||
* Expects exactly two dots and no whitespace in the input. | ||
*/ | ||
TEXT, | ||
/** | ||
* JSON from Nuance VoConHybrid. | ||
* This should only be used with grammars provided by what3words ltd; | ||
* using other grammars will cause run-time exceptions. | ||
* Language detection is disabled, so lang must be set for non-English input. | ||
*/ | ||
VOCON_HYBRID, | ||
/** | ||
* Text from the Nuance server at https://dictation.nuancemobility.net/NMDPAsrCmdServlet/dictation - | ||
* please contact Nuance before attempting to use this server. | ||
* Use with text from any other source is unsupported and results may not be as expected. | ||
* Does not handle text in languages in which words are not separated by spaces, e.g. Chinese. | ||
* Language detection is disabled, so lang must be set for non-English input. | ||
*/ | ||
NMDP_ASR, | ||
/** | ||
* | ||
* | ||
* Text output from speech recognition software. E.g. "index home raft". | ||
* This input type handles spaces between words. | ||
* Users should not pronounce 'dot' when speaking a 3 word address. | ||
* Does not handle text in languages in which words are not separated by spaces, e.g. Chinese. | ||
* Language detection is disabled, so lang must be set. | ||
*/ | ||
GENERIC_VOICE, | ||
/** | ||
* Text from Speechmatics voice recognition. | ||
* Use with text from any other source is unsupported and results may not be as expected. | ||
* This should only be used with grammars provided by what3words ltd; | ||
* using other grammars will cause run-time exceptions. | ||
* Language detection is disabled, so language must be set. | ||
*/ | ||
SPEECHMATICS | ||
#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member | ||
public enum AutosuggestInputType | ||
{ | ||
/** | ||
* Text typed by a user, e.g.'index.home.raf'. Default setting. | ||
* Expects exactly two dots and no whitespace in the input. | ||
*/ | ||
TEXT, | ||
/** | ||
* JSON from Nuance VoConHybrid. | ||
* This should only be used with grammars provided by what3words ltd; | ||
* using other grammars will cause run-time exceptions. | ||
* Language detection is disabled, so lang must be set for non-English input. | ||
*/ | ||
VOCON_HYBRID, | ||
/** | ||
* Text from the Nuance server at https://dictation.nuancemobility.net/NMDPAsrCmdServlet/dictation - | ||
* please contact Nuance before attempting to use this server. | ||
* Use with text from any other source is unsupported and results may not be as expected. | ||
* Does not handle text in languages in which words are not separated by spaces, e.g. Chinese. | ||
* Language detection is disabled, so lang must be set for non-English input. | ||
*/ | ||
NMDP_ASR, | ||
/** | ||
* Text output from speech recognition software. E.g. "index home raft". | ||
* This input type handles spaces between words. | ||
* Users should not pronounce 'dot' when speaking a 3 word address. | ||
* Does not handle text in languages in which words are not separated by spaces, e.g. Chinese. | ||
* Language detection is disabled, so lang must be set. | ||
*/ | ||
GENERIC_VOICE, | ||
/** | ||
* Text from Speechmatics voice recognition. | ||
* Use with text from any other source is unsupported and results may not be as expected. | ||
* This should only be used with grammars provided by what3words ltd; | ||
* using other grammars will cause run-time exceptions. | ||
* Language detection is disabled, so language must be set. | ||
*/ | ||
SPEECHMATICS | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters