Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 23 additions & 1 deletion lib/js/src/rpc/enums/TextFieldName.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* eslint-disable camelcase */
/*
* Copyright (c) 2020, SmartDeviceLink Consortium, Inc.
* Copyright (c) 2021, SmartDeviceLink Consortium, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
Expand Down Expand Up @@ -325,6 +325,26 @@ class TextFieldName extends Enum {
return TextFieldName._MAP.phoneNumber;
}

/**
* Get the enum value for timeToDestination.
* @since SmartDeviceLink 7.1.0
* Optional time to destination field for navigationTexts parameter in ShowConstantTBT
* @returns {String} - The enum value.
*/
static get timeToDestination () {
return TextFieldName._MAP.timeToDestination;
}

/**
* Get the enum value for turnText.
* @since SmartDeviceLink 7.1.0
* Turn text for turnList parameter of UpdateTurnList
* @returns {String} - The enum value.
*/
static get turnText () {
return TextFieldName._MAP.turnText;
}

/**
* Get the enum value for subtleAlertText1.
* @since SmartDeviceLink 7.0.0
Expand Down Expand Up @@ -412,6 +432,8 @@ TextFieldName._MAP = Object.freeze({
'locationDescription': 'locationDescription',
'addressLines': 'addressLines',
'phoneNumber': 'phoneNumber',
'timeToDestination': 'timeToDestination',
'turnText': 'turnText',
'subtleAlertText1': 'subtleAlertText1',
'subtleAlertText2': 'subtleAlertText2',
'subtleAlertSoftButtonText': 'subtleAlertSoftButtonText',
Expand Down