summaryrefslogtreecommitdiff
path: root/SmartDeviceLink/SDLRPCMessage.h
diff options
context:
space:
mode:
Diffstat (limited to 'SmartDeviceLink/SDLRPCMessage.h')
-rw-r--r--SmartDeviceLink/SDLRPCMessage.h18
1 files changed, 11 insertions, 7 deletions
diff --git a/SmartDeviceLink/SDLRPCMessage.h b/SmartDeviceLink/SDLRPCMessage.h
index f098dab51..3612d15c0 100644
--- a/SmartDeviceLink/SDLRPCMessage.h
+++ b/SmartDeviceLink/SDLRPCMessage.h
@@ -5,6 +5,8 @@
#import "SDLRPCStruct.h"
+NS_ASSUME_NONNULL_BEGIN
+
@interface SDLRPCMessage : SDLRPCStruct {
NSMutableDictionary<NSString *, id> *function;
NSMutableDictionary<NSString *, id> *parameters;
@@ -13,13 +15,15 @@
- (instancetype)initWithName:(NSString *)name;
- (instancetype)initWithDictionary:(NSDictionary<NSString *, id> *)dict;
-- (NSString *)getFunctionName;
-- (void)setFunctionName:(NSString *)functionName;
-- (NSObject *)getParameters:(NSString *)functionName;
-- (void)setParameters:(NSString *)functionName value:(NSObject *)value;
+- (nullable NSString *)getFunctionName;
+- (void)setFunctionName:(nullable NSString *)functionName;
+- (nullable NSObject *)getParameters:(NSString *)functionName;
+- (void)setParameters:(NSString *)functionName value:(nullable NSObject *)value;
-@property (strong) NSData *bulkData;
-@property (strong, readonly) NSString *name;
-@property (strong, readonly) NSString *messageType;
+@property (nullable, strong, nonatomic) NSData *bulkData;
+@property (strong, nonatomic, readonly) NSString *name;
+@property (strong, nonatomic, readonly) NSString *messageType;
@end
+
+NS_ASSUME_NONNULL_END