summaryrefslogtreecommitdiffstats
path: root/WhisperNet/API/eResultFlags.cs
diff options
context:
space:
mode:
Diffstat (limited to 'WhisperNet/API/eResultFlags.cs')
-rw-r--r--WhisperNet/API/eResultFlags.cs21
1 files changed, 21 insertions, 0 deletions
diff --git a/WhisperNet/API/eResultFlags.cs b/WhisperNet/API/eResultFlags.cs
new file mode 100644
index 0000000..1de61ab
--- /dev/null
+++ b/WhisperNet/API/eResultFlags.cs
@@ -0,0 +1,21 @@
+namespace Whisper
+{
+ /// <summary>Flags for <see cref="Context.results(eResultFlags)" /> method</summary>
+ [Flags]
+ public enum eResultFlags: uint
+ {
+ /// <summary>No flags</summary>
+ None = 0,
+
+ /// <summary>Return individual tokens in addition to the segments</summary>
+ Tokens = 1,
+
+ /// <summary>Return timestamps</summary>
+ Timestamps = 2,
+
+ /// <summary>Create a new COM object for the results.</summary>
+ /// <remarks>Without this flag, the context returns a pointer to the COM object stored in the context.<br/>
+ /// The content of that object is replaced every time you call <see cref="Internal.iContext.getResults(eResultFlags)" /> method.</remarks>
+ NewObject = 0x100,
+ }
+} \ No newline at end of file