![]() |
Diffusion Apple API 6.12.0
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. More...
#include <PTDiffusionStreamDelegate.h>
Instance Methods | |
| (void) | - diffusionStream:didFailWithError: |
| (void) | - diffusionDidCloseStream: |
The stream delegate protocol defines the methods to be implemented by classes wishing to receive streaming updates.
| - (void) diffusionDidCloseStream: | (PTDiffusionStream *) | stream |
The stream closed normally.
| stream | The stream that closed. |
| - (void) diffusionStream: | (PTDiffusionStream *) | stream | |
| didFailWithError: | (NSError *) | error |
The stream closed prematurely.
| stream | The stream that closed. |
| error | The reason why the stream closed. |