summaryrefslogtreecommitdiff
path: root/SmartDeviceLink/SDLOnButtonEvent.m
diff options
context:
space:
mode:
Diffstat (limited to 'SmartDeviceLink/SDLOnButtonEvent.m')
-rw-r--r--SmartDeviceLink/SDLOnButtonEvent.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/SmartDeviceLink/SDLOnButtonEvent.m b/SmartDeviceLink/SDLOnButtonEvent.m
index 89237fb53..f3ff12291 100644
--- a/SmartDeviceLink/SDLOnButtonEvent.m
+++ b/SmartDeviceLink/SDLOnButtonEvent.m
@@ -39,7 +39,7 @@
return (SDLButtonEventMode)obj;
}
-- (void)setCustomButtonID:(NSNumber *)customButtonID {
+- (void)setCustomButtonID:(NSNumber<SDLInt> *)customButtonID {
if (customButtonID != nil) {
[parameters setObject:customButtonID forKey:SDLNameCustomButtonId];
} else {
@@ -47,7 +47,7 @@
}
}
-- (NSNumber *)customButtonID {
+- (NSNumber<SDLInt> *)customButtonID {
return [parameters objectForKey:SDLNameCustomButtonId];
}