@@ -42,6 +42,7 @@ class AppInterfaceUnregisteredReason extends Enum {
42
42
/**
43
43
* Constructor for AppInterfaceUnregisteredReason.
44
44
* @class
45
+ * @since SmartDeviceLink 1.0.0
45
46
*/
46
47
constructor ( ) {
47
48
super ( ) ;
@@ -121,6 +122,7 @@ class AppInterfaceUnregisteredReason extends Enum {
121
122
122
123
/**
123
124
* Get the enum value for APP_UNAUTHORIZED.
125
+ * @since SmartDeviceLink 2.0.0
124
126
* @returns {String } - The enum value.
125
127
*/
126
128
static get APP_UNAUTHORIZED ( ) {
@@ -129,6 +131,7 @@ class AppInterfaceUnregisteredReason extends Enum {
129
131
130
132
/**
131
133
* Get the enum value for PROTOCOL_VIOLATION.
134
+ * @since SmartDeviceLink 4.0.0
132
135
* @returns {String } - The enum value.
133
136
*/
134
137
static get PROTOCOL_VIOLATION ( ) {
@@ -137,6 +140,7 @@ class AppInterfaceUnregisteredReason extends Enum {
137
140
138
141
/**
139
142
* Get the enum value for UNSUPPORTED_HMI_RESOURCE.
143
+ * @since SmartDeviceLink 4.1.0
140
144
* @returns {String } - The enum value.
141
145
*/
142
146
static get UNSUPPORTED_HMI_RESOURCE ( ) {
@@ -145,6 +149,7 @@ class AppInterfaceUnregisteredReason extends Enum {
145
149
146
150
/**
147
151
* Get the enum value for RESOURCE_CONSTRAINT.
152
+ * @since SmartDeviceLink 7.0.0
148
153
* By sending this value, SDL unregisters the application to allow the HMI to close the application.
149
154
* @returns {String } - The enum value.
150
155
*/
@@ -169,6 +174,14 @@ class AppInterfaceUnregisteredReason extends Enum {
169
174
static keyForValue ( value ) {
170
175
return AppInterfaceUnregisteredReason . _keyForValue ( value , AppInterfaceUnregisteredReason . _MAP ) ;
171
176
}
177
+
178
+ /**
179
+ * Retrieve all enumerated values for this class
180
+ * @returns {* } - Returns an array of values
181
+ */
182
+ static values ( ) {
183
+ return Object . values ( AppInterfaceUnregisteredReason . _MAP ) ;
184
+ }
172
185
}
173
186
174
187
AppInterfaceUnregisteredReason . _MAP = Object . freeze ( {
0 commit comments