Diffusion Apple API
6.2.7
Unified Client Library for iOS, tvOS and OS X / macOS
|
Extension adding support to the Messaging Control feature for sending requests accepting a record response.
Instance Methods | |
(void) | - sendRequest:toSessionId:path:recordCompletionHandler: |
- (void) sendRequest: | (PTDiffusionRequest *) | request | |
toSessionId: | (PTDiffusionSessionId *) | sessionId | |
path: | (NSString *) | path | |
recordCompletionHandler: | (PTDiffusionRecordV2 *_Nullable) | record | |
(NSError *_Nullable error) | completionHandler | ||
Send a request to a session for which a record response is expected.
request | The request to send. |
sessionId | The session to send the request to. |
path | The path to send the request to. |
completionHandler | Block to be called asynchronously on success or failure. If the operation was successful, the error argument passed to the block will be nil . The completion handler will be called asynchronously on the main dispatch queue. |
NSInvalidArgumentException | Raised if any supplied arguments are nil . |
Extends class PTDiffusionMessagingControlFeature.