![]() |
Diffusion Apple API 6.11.5
Unified Client Library for iOS, tvOS and OS X / macOS
|
The stream delegate protocol defines the methods to be implemented by classes wishing to receive streaming updates.
Instance Methods | |
(void) | - diffusionStream:didFailWithError: |
(void) | - diffusionDidCloseStream: |
- (void) diffusionDidCloseStream: | (PTDiffusionStream *) | stream |
The stream closed normally.
stream | The stream that closed. |
Reimplemented in <PTDiffusionSessionResponseStreamDelegate>.
- (void) diffusionStream: | (PTDiffusionStream *) | stream | |
didFailWithError: | (NSError *) | error | |
The stream closed prematurely.
stream | The stream that closed. |
error | The reason why the stream closed. |
Reimplemented in <PTDiffusionSessionResponseStreamDelegate>.