onTextData (event)
Passes a received chunk of text data to the application.
Syntax
- (void)onTextData:(long long)connectionID :(NSString*)text :(BOOL)last;
func onTextData(_ connectionID: Int64, _ text: String, _ last: Bool)
Remarks
The class fires this event repeatedly to pass incoming pieces of text data to the application. The Last parameter indicates that this is the last chunk.