diff options
author | Joel Fischer <joeljfischer@gmail.com> | 2017-03-08 13:10:50 -0500 |
---|---|---|
committer | Joel Fischer <joeljfischer@gmail.com> | 2017-03-08 13:10:50 -0500 |
commit | 2705547f1a8423d0b11b4ec0c9cb62428d861c07 (patch) | |
tree | fe39c92f238398b091764db3ad316e9b67da039b | |
parent | 3847dcaf3edd5d4ef0c45ea02166e182be562b52 (diff) | |
download | sdl_ios-2705547f1a8423d0b11b4ec0c9cb62428d861c07.tar.gz |
Update naming of notification constantsfeature/issue_537_handler_specificity
-rw-r--r-- | SmartDeviceLink/SDLNotificationConstants.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/SmartDeviceLink/SDLNotificationConstants.h b/SmartDeviceLink/SDLNotificationConstants.h index e22d0c421..8b9c748ac 100644 --- a/SmartDeviceLink/SDLNotificationConstants.h +++ b/SmartDeviceLink/SDLNotificationConstants.h @@ -46,18 +46,18 @@ typedef void (^SDLResponseHandler)(__kindof SDLRPCRequest *__nullable request, _ @warning This only works if you send the RPC using SDLManager. @warning Only one of the two parameters will be set for each block call. - @param buttonPressNotification An SDLOnButtonPress object that corresponds to this particular button. - @param buttonEventNotification An SDLOnButtonEvent object that corresponds to this particular button. + @param buttonPress An SDLOnButtonPress object that corresponds to this particular button. + @param buttonEvent An SDLOnButtonEvent object that corresponds to this particular button. */ -typedef void (^SDLRPCButtonNotificationHandler)(SDLOnButtonPress *_Nullable buttonPressNotification, SDLOnButtonEvent *_Nullable buttonEventNotification); +typedef void (^SDLRPCButtonNotificationHandler)(SDLOnButtonPress *_Nullable buttonPress, SDLOnButtonEvent *_Nullable buttonEvent); /** A handler that may optionally be run when an SDLAddCommand has a corresponding notification occur. @warning This only works if you send the RPC using SDLManager. - @param notification An SDLOnCommand object that corresponds to this particular SDLAddCommand. + @param command An SDLOnCommand object that corresponds to this particular SDLAddCommand. */ -typedef void (^SDLRPCCommandNotificationHandler)(SDLOnCommand *notification); +typedef void (^SDLRPCCommandNotificationHandler)(SDLOnCommand *command); /** * The key used in all SDL NSNotifications to extract the response or notification from the userinfo dictionary. |