diff options
author | Joel Fischer <joeljfischer@gmail.com> | 2019-10-03 16:54:36 -0400 |
---|---|---|
committer | Joel Fischer <joeljfischer@gmail.com> | 2019-10-03 16:54:36 -0400 |
commit | cb191116850b862062f128749f4a95b20eae7979 (patch) | |
tree | 59e6c346d081f9637375271f31c3ba91074201a9 | |
parent | 5a74c6f76dd9c32d2ce413c28457e7630d92e99b (diff) | |
download | sdl_ios-feature/issue-1386-manager-update-display-capability.tar.gz |
Add missing templatesAvailable propertyfeature/issue-1386-manager-update-display-capability
-rw-r--r-- | SmartDeviceLink/SDLWindowCapability.m | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/SmartDeviceLink/SDLWindowCapability.m b/SmartDeviceLink/SDLWindowCapability.m index 3e30a2b4c..6ace664b6 100644 --- a/SmartDeviceLink/SDLWindowCapability.m +++ b/SmartDeviceLink/SDLWindowCapability.m @@ -45,6 +45,14 @@ return [self.store sdl_enumsForName:SDLRPCParameterNameImageTypeSupported error:nil]; } +- (void)setTemplatesAvailable:(nullable NSArray<NSString *> *)templatesAvailable { + [self.store sdl_setObject:templatesAvailable forName:SDLRPCParameterNameTemplatesAvailable]; +} + +- (nullable NSArray<NSString *> *)templatesAvailable { + return [self.store sdl_objectsForName:SDLRPCParameterNameTemplatesAvailable ofClass:NSString.class error:nil]; +} + - (void)setNumCustomPresetsAvailable:(nullable NSNumber<SDLInt> *)numCustomPresetsAvailable { [self.store sdl_setObject:numCustomPresetsAvailable forName:SDLRPCParameterNameNumberCustomPresetsAvailable]; } |