summaryrefslogtreecommitdiff
path: root/SmartDeviceLink/SDLRPCPayload.h
diff options
context:
space:
mode:
Diffstat (limited to 'SmartDeviceLink/SDLRPCPayload.h')
-rw-r--r--SmartDeviceLink/SDLRPCPayload.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/SmartDeviceLink/SDLRPCPayload.h b/SmartDeviceLink/SDLRPCPayload.h
index d71492a21..5794cb5ea 100644
--- a/SmartDeviceLink/SDLRPCPayload.h
+++ b/SmartDeviceLink/SDLRPCPayload.h
@@ -10,11 +10,11 @@ NS_ASSUME_NONNULL_BEGIN
@interface SDLRPCPayload : NSObject
-@property (assign) SDLRPCMessageType rpcType;
-@property (assign) UInt32 functionID;
-@property (assign) UInt32 correlationID;
-@property (nullable, strong) NSData *jsonData;
-@property (nullable, strong) NSData *binaryData;
+@property (assign, nonatomic) SDLRPCMessageType rpcType;
+@property (assign, nonatomic) UInt32 functionID;
+@property (assign, nonatomic) UInt32 correlationID;
+@property (nullable, strong, nonatomic) NSData *jsonData;
+@property (nullable, strong, nonatomic) NSData *binaryData;
- (NSData *)data;
+ (nullable id)rpcPayloadWithData:(NSData *)data;