summaryrefslogtreecommitdiff
path: root/SmartDeviceLink/SDLOnButtonEvent.h
diff options
context:
space:
mode:
Diffstat (limited to 'SmartDeviceLink/SDLOnButtonEvent.h')
-rw-r--r--SmartDeviceLink/SDLOnButtonEvent.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/SmartDeviceLink/SDLOnButtonEvent.h b/SmartDeviceLink/SDLOnButtonEvent.h
index a4c380608..f4b65d95d 100644
--- a/SmartDeviceLink/SDLOnButtonEvent.h
+++ b/SmartDeviceLink/SDLOnButtonEvent.h
@@ -43,17 +43,20 @@
*
* @since SDL 1.0
*/
+
+NS_ASSUME_NONNULL_BEGIN
+
@interface SDLOnButtonEvent : SDLRPCNotification
/**
* @abstract The name of the button
*/
-@property (strong) SDLButtonName buttonName;
+@property (strong, nonatomic) SDLButtonName buttonName;
/**
* @abstract Indicates whether this is an UP or DOWN event
*/
-@property (strong) SDLButtonEventMode buttonEventMode;
+@property (strong, nonatomic) SDLButtonEventMode buttonEventMode;
/**
* @abstract If ButtonName is "CUSTOM_BUTTON", this references the integer ID passed by a custom button. (e.g. softButton ID)
@@ -62,6 +65,8 @@
*
* Optional, Integer, 0 - 65536
*/
-@property (strong) NSNumber<SDLInt> *customButtonID;
+@property (nullable, strong, nonatomic) NSNumber<SDLInt> *customButtonID;
@end
+
+NS_ASSUME_NONNULL_END