Diffusion Apple API  6.2.0
Unified Client Library for iOS, tvOS and OS X / macOS
 All Classes Functions Variables Properties Pages
Instance Methods | List of all members
<PTDiffusionStringSessionResponseStreamDelegate> Protocol Reference

Introduction

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

See Also
PTDiffusionPrimitive
PTDiffusionMessagingControlFeature
Since
6.1
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:
 

Method Documentation

- (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