onBinaryData (event)
Passes a received chunk of binary data to the application.
Syntax
- (void)onBinaryData:(NSData*)buffer :(BOOL)last;
func onBinaryData(_ buffer: Data, _ last: Bool)
Remarks
The class fires this event repeatedly to pass incoming pieces of binary data to the application. The Last parameter indicates that this is the last chunk.