Titanium.Stream.ReadCallbackArgs
Argument passed to the read callback when an asynchronous read operation finishes.
Extends: ErrorResponse · Since: 1.7 · Platforms: android, iphone, ipad, macos
Properties #
bytesProcessed#
Type: Number
Number of bytes processed, or -1 in the event of an error or end of stream.
code#
Type: Number
Error code. Returns 0 if success is true.
Error code will be 0 if success is true, nonzero otherwise. If the error
was generated by the operating system, that system's error value is used.
Otherwise, this value will be -1.
success#
Type: Boolean
Indicates if the operation succeeded.
Returns true if request succeeded, false otherwise.