summaryrefslogtreecommitdiff
path: root/SmartDeviceLink/SDLScrollableMessage.h
diff options
context:
space:
mode:
Diffstat (limited to 'SmartDeviceLink/SDLScrollableMessage.h')
-rw-r--r--SmartDeviceLink/SDLScrollableMessage.h13
1 files changed, 9 insertions, 4 deletions
diff --git a/SmartDeviceLink/SDLScrollableMessage.h b/SmartDeviceLink/SDLScrollableMessage.h
index c06f1911e..87ed0be98 100644
--- a/SmartDeviceLink/SDLScrollableMessage.h
+++ b/SmartDeviceLink/SDLScrollableMessage.h
@@ -15,11 +15,14 @@
* <b>HMILevel needs to be FULL</b>
* <p>
*/
+
+NS_ASSUME_NONNULL_BEGIN
+
@interface SDLScrollableMessage : SDLRPCRequest
- (instancetype)initWithMessage:(NSString *)message;
-- (instancetype)initWithMessage:(NSString *)message timeout:(UInt16)timeout softButtons:(NSArray<SDLSoftButton *> *)softButtons;
+- (instancetype)initWithMessage:(NSString *)message timeout:(UInt16)timeout softButtons:(nullable NSArray<SDLSoftButton *> *)softButtons;
/**
* @abstract A Body of text that can include newlines and tabs
@@ -28,7 +31,7 @@
* <p>
* <b>Notes: </b>Maxlength=500
*/
-@property (strong) NSString *scrollableMessageBody;
+@property (strong, nonatomic) NSString *scrollableMessageBody;
/**
* @abstract Gets/Sets an App defined timeout. Indicates how long of a timeout in milliseconds from the
* last action
@@ -36,7 +39,7 @@
* <p>
* <b>Notes</b>:Minval=0; Maxval=65535;Default=30000
*/
-@property (strong) NSNumber<SDLInt> *timeout;
+@property (nullable, strong, nonatomic) NSNumber<SDLInt> *timeout;
/**
* @abstract Gets/Sets App defined SoftButtons.If omitted on supported displays, only the
* system defined "Close" SoftButton will be displayed
@@ -45,6 +48,8 @@
* <p>
* <b>Notes: </b>Minsize=0, Maxsize=8
*/
-@property (strong) NSMutableArray<SDLSoftButton *> *softButtons;
+@property (nullable, strong, nonatomic) NSMutableArray<SDLSoftButton *> *softButtons;
@end
+
+NS_ASSUME_NONNULL_END