summaryrefslogtreecommitdiff
path: root/SmartDeviceLink/SDLManager.h
diff options
context:
space:
mode:
Diffstat (limited to 'SmartDeviceLink/SDLManager.h')
-rw-r--r--SmartDeviceLink/SDLManager.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/SmartDeviceLink/SDLManager.h b/SmartDeviceLink/SDLManager.h
index b984a58a5..b0a0fbe08 100644
--- a/SmartDeviceLink/SDLManager.h
+++ b/SmartDeviceLink/SDLManager.h
@@ -15,6 +15,7 @@
@class SDLProxy;
@class SDLPutFile;
@class SDLRegisterAppInterfaceResponse;
+@class SDLRPCMessage;
@class SDLRPCNotification;
@class SDLRPCRequest;
@class SDLRPCResponse;
@@ -133,6 +134,13 @@ typedef void (^SDLManagerReadyBlock)(BOOL success, NSError *_Nullable error);
#pragma mark Manually Send RPC Requests
/**
+ * Send an RPC of type `Response`, `Notification` or `Request`. Responses and notifications sent to Core do not a response back from Core. Each request sent to Core does get a response, so if you need the response and/or error, call `sendRequest:withResponseHandler:` instead.
+ *
+ * @param rpc An RPC of type `SDLRPCResponse`, `SDLRPCNotification` or `SDLRPCRequest`
+ */
+- (void)sendRPC:(__kindof SDLRPCMessage *)rpc;
+
+/**
* Send an RPC request and don't bother with the response or error. If you need the response or error, call sendRequest:withCompletionHandler: instead.
*
* @param request The RPC request to send