summaryrefslogtreecommitdiff
path: root/SmartDeviceLink/SDLRPCPayload.h
diff options
context:
space:
mode:
Diffstat (limited to 'SmartDeviceLink/SDLRPCPayload.h')
-rw-r--r--SmartDeviceLink/SDLRPCPayload.h15
1 files changed, 9 insertions, 6 deletions
diff --git a/SmartDeviceLink/SDLRPCPayload.h b/SmartDeviceLink/SDLRPCPayload.h
index 1a490d956..5794cb5ea 100644
--- a/SmartDeviceLink/SDLRPCPayload.h
+++ b/SmartDeviceLink/SDLRPCPayload.h
@@ -6,16 +6,19 @@
#import "SDLRPCMessageType.h"
+NS_ASSUME_NONNULL_BEGIN
@interface SDLRPCPayload : NSObject
-@property (assign) SDLRPCMessageType rpcType;
-@property (assign) UInt32 functionID;
-@property (assign) UInt32 correlationID;
-@property (strong) NSData *jsonData;
-@property (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;
-+ (id)rpcPayloadWithData:(NSData *)data;
++ (nullable id)rpcPayloadWithData:(NSData *)data;
@end
+
+NS_ASSUME_NONNULL_END