|
1 | 1 | /* eslint-disable camelcase */ |
2 | 2 | /* |
3 | | -* Copyright (c) 2020, SmartDeviceLink Consortium, Inc. |
| 3 | +* Copyright (c) 2021, SmartDeviceLink Consortium, Inc. |
4 | 4 | * All rights reserved. |
5 | 5 | * |
6 | 6 | * Redistribution and use in source and binary forms, with or without |
@@ -327,6 +327,26 @@ class TextFieldName extends Enum { |
327 | 327 | return TextFieldName._MAP.phoneNumber; |
328 | 328 | } |
329 | 329 |
|
| 330 | + /** |
| 331 | + * Get the enum value for timeToDestination. |
| 332 | + * @since SmartDeviceLink 7.1.0 |
| 333 | + * Optional time to destination field for navigationTexts parameter in ShowConstantTBT |
| 334 | + * @returns {String} - The enum value. |
| 335 | + */ |
| 336 | + static get timeToDestination () { |
| 337 | + return TextFieldName._MAP.timeToDestination; |
| 338 | + } |
| 339 | + |
| 340 | + /** |
| 341 | + * Get the enum value for turnText. |
| 342 | + * @since SmartDeviceLink 7.1.0 |
| 343 | + * Turn text for turnList parameter of UpdateTurnList |
| 344 | + * @returns {String} - The enum value. |
| 345 | + */ |
| 346 | + static get turnText () { |
| 347 | + return TextFieldName._MAP.turnText; |
| 348 | + } |
| 349 | + |
330 | 350 | /** |
331 | 351 | * Get the enum value for subtleAlertText1. |
332 | 352 | * @since SmartDeviceLink 7.0.0 |
@@ -414,6 +434,8 @@ TextFieldName._MAP = Object.freeze({ |
414 | 434 | 'locationDescription': 'locationDescription', |
415 | 435 | 'addressLines': 'addressLines', |
416 | 436 | 'phoneNumber': 'phoneNumber', |
| 437 | + 'timeToDestination': 'timeToDestination', |
| 438 | + 'turnText': 'turnText', |
417 | 439 | 'subtleAlertText1': 'subtleAlertText1', |
418 | 440 | 'subtleAlertText2': 'subtleAlertText2', |
419 | 441 | 'subtleAlertSoftButtonText': 'subtleAlertSoftButtonText', |
|
0 commit comments