Instance Method

readDataWithCompletionHandler:

Read data from the flow.

Declaration

- (void)readDataWithCompletionHandler:(void (^)(NSData *data, NSError *error))completionHandler;

Parameters

completionHandler

A block that will be executed by the system on an internal system thread when some data is read from the flow. The block is passed either the data that was read or a non-nil error if an error occurred. See NEAppProxyFlowError in NEAppProxyFlow for a list of possible errors. If the data parameter has a length of 0 then no data can be subsequently read from the flow.

See Also

Handling Flow Data