Diffusion Apple API 6.12.1
Unified Client Library for iOS, tvOS and OS X / macOS
Loading...
Searching...
No Matches
<PTDiffusionStringSessionResponseStreamDelegate> Protocol Reference

Methods implemented by classes handling string messaging responses from individual sessions. More...

#include <PTDiffusionStringSessionResponseStreamDelegate.h>

Inheritance diagram for <PTDiffusionStringSessionResponseStreamDelegate>:
<PTDiffusionSessionResponseStreamDelegate> <PTDiffusionStreamDelegate>

Instance Methods

(void) - diffusionStream:didReceiveResponseWithString:fromSessionId:
Instance Methods inherited from <PTDiffusionSessionResponseStreamDelegate>
(void) - diffusionStream:didReceiveError:fromSessionId:
Instance Methods inherited from <PTDiffusionStreamDelegate>
(void) - diffusionStream:didFailWithError:
(void) - diffusionDidCloseStream:

Detailed Description

Methods implemented by classes handling string messaging responses from individual sessions.

See also
PTDiffusionPrimitive
PTDiffusionMessagingFeature
Since
6.1

Method Documentation

◆ diffusionStream:didReceiveResponseWithString:fromSessionId:

- (void) diffusionStream: (PTDiffusionStream *) stream
didReceiveResponseWithString: (nullable NSString *) string
fromSessionId: (PTDiffusionSessionId *) sessionId 

Called when a session responds to a request with a string.

Parameters
streamThe stream that received the response.
stringThe response that was received.
sessionIdThe id of the responding session.
Since
6.1