From b39a40a5cabf81e41562c0c1c750da0f278c4d15 Mon Sep 17 00:00:00 2001 From: NicoleYarroch Date: Tue, 28 Jul 2020 14:44:30 -0400 Subject: Added notification constants for new RPCs Signed-off-by: NicoleYarroch --- SmartDeviceLink/SDLNotificationConstants.h | 11 ++++++++++- SmartDeviceLink/SDLNotificationConstants.m | 5 ++++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/SmartDeviceLink/SDLNotificationConstants.h b/SmartDeviceLink/SDLNotificationConstants.h index d99e0724c..7cb20dca1 100644 --- a/SmartDeviceLink/SDLNotificationConstants.h +++ b/SmartDeviceLink/SDLNotificationConstants.h @@ -315,6 +315,9 @@ extern SDLNotificationName const SDLDidReceiveSubscribeVehicleDataResponse; /// Name for a SubscribeWaypoints response RPC extern SDLNotificationName const SDLDidReceiveSubscribeWaypointsResponse; +/// Name for a SubtleAlert response RPC +extern SDLNotificationName const SDLDidReceiveSubtleAlertResponse; + /// Name for a SyncPData response RPC extern SDLNotificationName const SDLDidReceiveSyncPDataResponse __deprecated; @@ -506,9 +509,12 @@ extern SDLNotificationName const SDLDidReceiveSubscribeButtonRequest; /// Name for a SubscribeVehicleData request RPC extern SDLNotificationName const SDLDidReceiveSubscribeVehicleDataRequest; -/// Name for a ubscribeWayPoints request RPC +/// Name for a SubscribeWayPoints request RPC extern SDLNotificationName const SDLDidReceiveSubscribeWayPointsRequest; +/// Name for a SubtleAlert request RPC +extern SDLNotificationName const SDLDidReceiveSubtleAlertRequest; + /// Name for a SyncPData request RPC extern SDLNotificationName const SDLDidReceiveSyncPDataRequest __deprecated; @@ -583,6 +589,9 @@ extern SDLNotificationName const SDLDidReceiveVehicleIconNotification; /// Name for a ChangePermissions notification RPC extern SDLNotificationName const SDLDidChangePermissionsNotification; +/// Name for a SubtleAlertPressed notification RPC +extern SDLNotificationName const SDLDidReceiveSubtleAlertPressedNotification; + /// Name for a RemoteControlStatus notification RPC extern SDLNotificationName const SDLDidReceiveRemoteControlStatusNotification; diff --git a/SmartDeviceLink/SDLNotificationConstants.m b/SmartDeviceLink/SDLNotificationConstants.m index d4cb7c9bc..87e6d6a25 100644 --- a/SmartDeviceLink/SDLNotificationConstants.m +++ b/SmartDeviceLink/SDLNotificationConstants.m @@ -84,6 +84,7 @@ SDLNotificationName const SDLDidReceiveSpeakResponse = @"com.sdl.response.Speak" SDLNotificationName const SDLDidReceiveSubscribeButtonResponse = @"com.sdl.response.SubscribeButton"; SDLNotificationName const SDLDidReceiveSubscribeVehicleDataResponse = @"com.sdl.response.SubscribeVehicleData"; SDLNotificationName const SDLDidReceiveSubscribeWaypointsResponse = @"com.sdl.response.SubscribeWayPoints"; +SDLNotificationName const SDLDidReceiveSubtleAlertResponse = @"com.sdl.response.SubtleAlert"; SDLNotificationName const SDLDidReceiveSyncPDataResponse = @"com.sdl.response.SyncPData"; SDLNotificationName const SDLDidReceiveSystemRequestResponse = @"com.sdl.response.SystemRequest"; SDLNotificationName const SDLDidReceiveUpdateTurnListResponse = @"com.sdl.response.UpdateTurnList"; @@ -149,6 +150,7 @@ SDLNotificationName const SDLDidReceiveSpeakRequest = @"com.sdl.request.Speak"; SDLNotificationName const SDLDidReceiveSubscribeButtonRequest = @"com.sdl.request.SubscribeButton"; SDLNotificationName const SDLDidReceiveSubscribeVehicleDataRequest = @"com.sdl.request.SubscribeVehicleData"; SDLNotificationName const SDLDidReceiveSubscribeWayPointsRequest = @"com.sdl.request.SubscribeWayPoints"; +SDLNotificationName const SDLDidReceiveSubtleAlertRequest = @"com.sdl.request.SubtleAlert"; SDLNotificationName const SDLDidReceiveSyncPDataRequest = @"com.sdl.request.SyncPData"; SDLNotificationName const SDLDidReceiveSystemRequestRequest = @"com.sdl.request.SystemRequest"; SDLNotificationName const SDLDidReceiveUnpublishAppServiceRequest = @"com.sdl.request.UnpublishAppService"; @@ -174,6 +176,7 @@ SDLNotificationName const SDLDidChangeLanguageNotification = @"com.sdl.notificat SDLNotificationName const SDLDidReceiveNewHashNotification = @"com.sdl.notification.OnHashChange"; SDLNotificationName const SDLDidChangePermissionsNotification = @"com.sdl.notification.OnPermissionsChange"; SDLNotificationName const SDLDidReceiveRemoteControlStatusNotification = @"com.sdl.notification.OnRCStatus"; +SDLNotificationName const SDLDidReceiveSubtleAlertPressedNotification = @"com.sdl.notification.OnSubtleAlertPressed"; SDLNotificationName const SDLDidReceiveSyncPDataNotification = @"com.sdl.notification.OnSyncPData"; SDLNotificationName const SDLDidReceiveSystemCapabilityUpdatedNotification = @"com.sdl.notification.OnSystemCapabilityUpdated"; SDLNotificationName const SDLDidReceiveSystemRequestNotification = @"com.sdl.notification.OnSystemRequest"; @@ -182,7 +185,6 @@ SDLNotificationName const SDLDidReceiveTouchEventNotification = @"com.sdl.notifi SDLNotificationName const SDLDidReceiveVehicleDataNotification = @"com.sdl.notification.OnVehicleData"; SDLNotificationName const SDLDidReceiveWaypointNotification = @"com.sdl.notification.OnWayPointChange"; - @implementation SDLNotificationConstants + (NSArray *)allResponseNames { @@ -249,6 +251,7 @@ SDLNotificationName const SDLDidReceiveWaypointNotification = @"com.sdl.notifica #pragma clang diagnostic ignored "-Wdeprecated-declarations" SDLDidReceiveSyncPDataResponse, #pragma clang diagnostic pop + SDLDidReceiveSubtleAlertResponse, SDLDidReceiveSystemRequestResponse, SDLDidReceiveUpdateTurnListResponse, SDLDidReceiveUnpublishAppServiceResponse, -- cgit v1.2.1