const string | The default partial delimiter |
const string | The default final delimiter |
bool | IsComplete[Get] Whether or not complete |
delegate void | TextStreamResponseDelegate ( string rawText ) The delegate for returning text from the text stream handler |
TextStreamHandler ( TextStreamResponseDelegate partialResponseDelegate, string partialDelimiter, string finalDelimiter ) |
override bool | |
void | HandlePartial ( string newPartial ) |
override string | GetText ( ) |
override void | ReceiveContentLengthHeader ( ulong contentLength ) |
override float | GetProgress ( ) |
override byte [] | GetData ( ) |
override void | CompleteContent ( ) |
static string | Simple decode method from bytes to text |
static int | GetDecodedLength ( ulong totalBits ) Gets the length of the string that should be created with the total amount of bits |
static string [] | Splits text with a string delimiter |
bool | ReceiveData ( byte [] receiveData ) |
void | Complete ( ) |
const string Meta.WitAi.Requests.TextStreamHandler.DEFAULT_PARTIAL_DELIMITER |
---|
The default partial delimiter |
const string Meta.WitAi.Requests.TextStreamHandler.DEFAULT_FINAL_DELIMITER |
---|
The default final delimiter |
bool Meta.WitAi.Requests.TextStreamHandler.IsComplete |
---|
Whether or not complete |
delegate void Meta.WitAi.Requests.TextStreamHandler.TextStreamResponseDelegate ( string rawText ) |
---|
The delegate for returning text from the text stream handler |
Meta.WitAi.Requests.TextStreamHandler.TextStreamHandler ( TextStreamResponseDelegate partialResponseDelegate, string partialDelimiter, string finalDelimiter ) |
---|
No description available.
|
override bool Meta.WitAi.Requests.TextStreamHandler.ReceiveData ( byte [] receiveData, int dataLength ) |
---|
No description available.
|
virtual void Meta.WitAi.Requests.TextStreamHandler.HandlePartial ( string newPartial ) |
---|
No description available.
|
override string Meta.WitAi.Requests.TextStreamHandler.GetText ( ) |
---|
No description available.
|
override void Meta.WitAi.Requests.TextStreamHandler.ReceiveContentLengthHeader ( ulong contentLength ) |
---|
No description available.
|
override float Meta.WitAi.Requests.TextStreamHandler.GetProgress ( ) |
---|
No description available.
|
override byte [] Meta.WitAi.Requests.TextStreamHandler.GetData ( ) |
---|
No description available.
|
override void Meta.WitAi.Requests.TextStreamHandler.CompleteContent ( ) |
---|
No description available.
|
static string Meta.WitAi.Requests.TextStreamHandler.DecodeBytes ( byte [] receiveData, int start, int length ) |
---|
Simple decode method from bytes to text Parameters receiveData The data received startThe array start index lengthThe amount of bytes in the data to convert Returns Returns decoded text |
static int Meta.WitAi.Requests.TextStreamHandler.GetDecodedLength ( ulong totalBits ) |
---|
Gets the length of the string that should be created with the total amount of bits Parameters totalBits The total amount of bits Returns Returns string length of decoded bytes |
static string [] Meta.WitAi.Requests.TextStreamHandler.SplitText ( string source, string delimiter ) |
---|
Splits text with a string delimiter Parameters source Original source text delimiterDelimiter to be split on Returns The source string split on the delimiter |
bool Meta.WitAi.Requests.TextStreamHandler.ReceiveData ( byte [] receiveData ) |
---|
No description available.
|
void Meta.WitAi.Requests.TextStreamHandler.Complete ( ) |
---|
No description available.
|