summaryrefslogtreecommitdiff
path: root/SmartDeviceLink/SDLSubscribeButton.m
diff options
context:
space:
mode:
authorJoel Fischer <joeljfischer@gmail.com>2017-02-22 15:27:24 -0500
committerJoel Fischer <joeljfischer@gmail.com>2017-02-22 15:27:24 -0500
commitdc15b45f58c65b6d5d961062c5374997f6747689 (patch)
tree6c14a95ca7bb61e725c09b08ec0c77d4eb9d19f7 /SmartDeviceLink/SDLSubscribeButton.m
parent463357d2c16ce9141646f8c315f41dc0b2c08155 (diff)
downloadsdl_ios-dc15b45f58c65b6d5d961062c5374997f6747689.tar.gz
Implement SDL 0027
* Fixes #537 * Update button & command handlers to be specific
Diffstat (limited to 'SmartDeviceLink/SDLSubscribeButton.m')
-rw-r--r--SmartDeviceLink/SDLSubscribeButton.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/SmartDeviceLink/SDLSubscribeButton.m b/SmartDeviceLink/SDLSubscribeButton.m
index 07a2fe65c..1a94caa37 100644
--- a/SmartDeviceLink/SDLSubscribeButton.m
+++ b/SmartDeviceLink/SDLSubscribeButton.m
@@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN
return self;
}
-- (instancetype)initWithHandler:(nullable SDLRPCNotificationHandler)handler {
+- (instancetype)initWithHandler:(nullable SDLRPCButtonNotificationHandler)handler {
self = [self init];
if (!self) {
return nil;
@@ -28,7 +28,7 @@ NS_ASSUME_NONNULL_BEGIN
return self;
}
-- (instancetype)initWithButtonName:(SDLButtonName)buttonName handler:(nullable SDLRPCNotificationHandler)handler {
+- (instancetype)initWithButtonName:(SDLButtonName)buttonName handler:(nullable SDLRPCButtonNotificationHandler)handler {
self = [self init];
if (!self) {
return nil;