diff options
Diffstat (limited to 'SmartDeviceLink/SDLAlertManeuver.m')
-rw-r--r-- | SmartDeviceLink/SDLAlertManeuver.m | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/SmartDeviceLink/SDLAlertManeuver.m b/SmartDeviceLink/SDLAlertManeuver.m index f56a53572..7eb01682a 100644 --- a/SmartDeviceLink/SDLAlertManeuver.m +++ b/SmartDeviceLink/SDLAlertManeuver.m @@ -5,7 +5,8 @@ #import "SDLAlertManeuver.h" #import "NSMutableDictionary+Store.h" -#import "SDLNames.h" +#import "SDLRPCParameterNames.h" +#import "SDLRPCFunctionNames.h" #import "SDLSoftButton.h" #import "SDLTTSChunk.h" @@ -14,7 +15,7 @@ NS_ASSUME_NONNULL_BEGIN @implementation SDLAlertManeuver - (instancetype)init { - if (self = [super initWithName:SDLNameAlertManeuver]) { + if (self = [super initWithName:SDLRPCFunctionNameAlertManeuver]) { } return self; } @@ -38,19 +39,19 @@ NS_ASSUME_NONNULL_BEGIN } - (void)setTtsChunks:(nullable NSArray<SDLTTSChunk *> *)ttsChunks { - [parameters sdl_setObject:ttsChunks forName:SDLNameTTSChunks]; + [parameters sdl_setObject:ttsChunks forName:SDLRPCParameterNameTTSChunks]; } - (nullable NSArray<SDLTTSChunk *> *)ttsChunks { - return [parameters sdl_objectsForName:SDLNameTTSChunks ofClass:SDLTTSChunk.class]; + return [parameters sdl_objectsForName:SDLRPCParameterNameTTSChunks ofClass:SDLTTSChunk.class error:nil]; } - (void)setSoftButtons:(nullable NSArray<SDLSoftButton *> *)softButtons { - [parameters sdl_setObject:softButtons forName:SDLNameSoftButtons]; + [parameters sdl_setObject:softButtons forName:SDLRPCParameterNameSoftButtons]; } - (nullable NSArray<SDLSoftButton *> *)softButtons { - return [parameters sdl_objectsForName:SDLNameSoftButtons ofClass:SDLSoftButton.class]; + return [parameters sdl_objectsForName:SDLRPCParameterNameSoftButtons ofClass:SDLSoftButton.class error:nil]; } @end |