Skip to content

Commit 2e8f3d7

Browse files
authored
Merge pull request #334 from smartdevicelink/feature/1.2-built-files
Generate new rpc files and add the ignored built files to example apps
2 parents 2a6661a + 2308084 commit 2e8f3d7

File tree

372 files changed

+1891
-68
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

372 files changed

+1891
-68
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,4 @@
1010
hello-sdl*.zip
1111
app-directory.json
1212
**/dist/
13+
**/SDL.min.js

lib/js/src/rpc/enums/AmbientLightStatus.js

+9
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ class AmbientLightStatus extends Enum {
4242
/**
4343
* Constructor for AmbientLightStatus.
4444
* @class
45+
* @since SmartDeviceLink 2.0.0
4546
*/
4647
constructor () {
4748
super();
@@ -128,6 +129,14 @@ class AmbientLightStatus extends Enum {
128129
static keyForValue (value) {
129130
return AmbientLightStatus._keyForValue(value, AmbientLightStatus._MAP);
130131
}
132+
133+
/**
134+
* Retrieve all enumerated values for this class
135+
* @returns {*} - Returns an array of values
136+
*/
137+
static values () {
138+
return Object.values(AmbientLightStatus._MAP);
139+
}
131140
}
132141

133142
AmbientLightStatus._MAP = Object.freeze({

lib/js/src/rpc/enums/AppHMIType.js

+12
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ class AppHMIType extends Enum {
4242
/**
4343
* Constructor for AppHMIType.
4444
* @class
45+
* @since SmartDeviceLink 2.0.0
4546
*/
4647
constructor () {
4748
super();
@@ -129,6 +130,7 @@ class AppHMIType extends Enum {
129130

130131
/**
131132
* Get the enum value for PROJECTION.
133+
* @since SmartDeviceLink 4.5.0
132134
* @returns {String} - The enum value.
133135
*/
134136
static get PROJECTION () {
@@ -137,6 +139,7 @@ class AppHMIType extends Enum {
137139

138140
/**
139141
* Get the enum value for REMOTE_CONTROL.
142+
* @since SmartDeviceLink 4.5.0
140143
* @returns {String} - The enum value.
141144
*/
142145
static get REMOTE_CONTROL () {
@@ -145,6 +148,7 @@ class AppHMIType extends Enum {
145148

146149
/**
147150
* Get the enum value for WEB_VIEW.
151+
* @since SmartDeviceLink 7.0.0
148152
* @returns {String} - The enum value.
149153
*/
150154
static get WEB_VIEW () {
@@ -168,6 +172,14 @@ class AppHMIType extends Enum {
168172
static keyForValue (value) {
169173
return AppHMIType._keyForValue(value, AppHMIType._MAP);
170174
}
175+
176+
/**
177+
* Retrieve all enumerated values for this class
178+
* @returns {*} - Returns an array of values
179+
*/
180+
static values () {
181+
return Object.values(AppHMIType._MAP);
182+
}
171183
}
172184

173185
AppHMIType._MAP = Object.freeze({

lib/js/src/rpc/enums/AppInterfaceUnregisteredReason.js

+13
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ class AppInterfaceUnregisteredReason extends Enum {
4242
/**
4343
* Constructor for AppInterfaceUnregisteredReason.
4444
* @class
45+
* @since SmartDeviceLink 1.0.0
4546
*/
4647
constructor () {
4748
super();
@@ -121,6 +122,7 @@ class AppInterfaceUnregisteredReason extends Enum {
121122

122123
/**
123124
* Get the enum value for APP_UNAUTHORIZED.
125+
* @since SmartDeviceLink 2.0.0
124126
* @returns {String} - The enum value.
125127
*/
126128
static get APP_UNAUTHORIZED () {
@@ -129,6 +131,7 @@ class AppInterfaceUnregisteredReason extends Enum {
129131

130132
/**
131133
* Get the enum value for PROTOCOL_VIOLATION.
134+
* @since SmartDeviceLink 4.0.0
132135
* @returns {String} - The enum value.
133136
*/
134137
static get PROTOCOL_VIOLATION () {
@@ -137,6 +140,7 @@ class AppInterfaceUnregisteredReason extends Enum {
137140

138141
/**
139142
* Get the enum value for UNSUPPORTED_HMI_RESOURCE.
143+
* @since SmartDeviceLink 4.1.0
140144
* @returns {String} - The enum value.
141145
*/
142146
static get UNSUPPORTED_HMI_RESOURCE () {
@@ -145,6 +149,7 @@ class AppInterfaceUnregisteredReason extends Enum {
145149

146150
/**
147151
* Get the enum value for RESOURCE_CONSTRAINT.
152+
* @since SmartDeviceLink 7.0.0
148153
* By sending this value, SDL unregisters the application to allow the HMI to close the application.
149154
* @returns {String} - The enum value.
150155
*/
@@ -169,6 +174,14 @@ class AppInterfaceUnregisteredReason extends Enum {
169174
static keyForValue (value) {
170175
return AppInterfaceUnregisteredReason._keyForValue(value, AppInterfaceUnregisteredReason._MAP);
171176
}
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+
}
172185
}
173186

174187
AppInterfaceUnregisteredReason._MAP = Object.freeze({

lib/js/src/rpc/enums/AppServiceType.js

+9
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ class AppServiceType extends Enum {
4141
/**
4242
* Constructor for AppServiceType.
4343
* @class
44+
* @since SmartDeviceLink 5.1.0
4445
*/
4546
constructor () {
4647
super();
@@ -87,6 +88,14 @@ class AppServiceType extends Enum {
8788
static keyForValue (value) {
8889
return AppServiceType._keyForValue(value, AppServiceType._MAP);
8990
}
91+
92+
/**
93+
* Retrieve all enumerated values for this class
94+
* @returns {*} - Returns an array of values
95+
*/
96+
static values () {
97+
return Object.values(AppServiceType._MAP);
98+
}
9099
}
91100

92101
AppServiceType._MAP = Object.freeze({

lib/js/src/rpc/enums/AudioStreamingIndicator.js

+9
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ class AudioStreamingIndicator extends Enum {
4141
/**
4242
* Constructor for AudioStreamingIndicator.
4343
* @class
44+
* @since SmartDeviceLink 5.0.0
4445
*/
4546
constructor () {
4647
super();
@@ -99,6 +100,14 @@ class AudioStreamingIndicator extends Enum {
99100
static keyForValue (value) {
100101
return AudioStreamingIndicator._keyForValue(value, AudioStreamingIndicator._MAP);
101102
}
103+
104+
/**
105+
* Retrieve all enumerated values for this class
106+
* @returns {*} - Returns an array of values
107+
*/
108+
static values () {
109+
return Object.values(AudioStreamingIndicator._MAP);
110+
}
102111
}
103112

104113
AudioStreamingIndicator._MAP = Object.freeze({

lib/js/src/rpc/enums/AudioStreamingState.js

+9
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ class AudioStreamingState extends Enum {
4242
/**
4343
* Constructor for AudioStreamingState.
4444
* @class
45+
* @since SmartDeviceLink 1.0.0
4546
*/
4647
constructor () {
4748
super();
@@ -88,6 +89,14 @@ class AudioStreamingState extends Enum {
8889
static keyForValue (value) {
8990
return AudioStreamingState._keyForValue(value, AudioStreamingState._MAP);
9091
}
92+
93+
/**
94+
* Retrieve all enumerated values for this class
95+
* @returns {*} - Returns an array of values
96+
*/
97+
static values () {
98+
return Object.values(AudioStreamingState._MAP);
99+
}
91100
}
92101

93102
AudioStreamingState._MAP = Object.freeze({

lib/js/src/rpc/enums/AudioType.js

+9
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ class AudioType extends Enum {
4242
/**
4343
* Constructor for AudioType.
4444
* @class
45+
* @since SmartDeviceLink 2.0.0
4546
*/
4647
constructor () {
4748
super();
@@ -73,6 +74,14 @@ class AudioType extends Enum {
7374
static keyForValue (value) {
7475
return AudioType._keyForValue(value, AudioType._MAP);
7576
}
77+
78+
/**
79+
* Retrieve all enumerated values for this class
80+
* @returns {*} - Returns an array of values
81+
*/
82+
static values () {
83+
return Object.values(AudioType._MAP);
84+
}
7685
}
7786

7887
AudioType._MAP = Object.freeze({

lib/js/src/rpc/enums/BitsPerSample.js

+9
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ class BitsPerSample extends Enum {
4242
/**
4343
* Constructor for BitsPerSample.
4444
* @class
45+
* @since SmartDeviceLink 2.0.0
4546
*/
4647
constructor () {
4748
super();
@@ -82,6 +83,14 @@ class BitsPerSample extends Enum {
8283
static keyForValue (value) {
8384
return BitsPerSample._keyForValue(value, BitsPerSample._MAP);
8485
}
86+
87+
/**
88+
* Retrieve all enumerated values for this class
89+
* @returns {*} - Returns an array of values
90+
*/
91+
static values () {
92+
return Object.values(BitsPerSample._MAP);
93+
}
8594
}
8695

8796
BitsPerSample._MAP = Object.freeze({

lib/js/src/rpc/enums/ButtonEventMode.js

+9
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ class ButtonEventMode extends Enum {
4141
/**
4242
* Constructor for ButtonEventMode.
4343
* @class
44+
* @since SmartDeviceLink 1.0.0
4445
*/
4546
constructor () {
4647
super();
@@ -81,6 +82,14 @@ class ButtonEventMode extends Enum {
8182
static keyForValue (value) {
8283
return ButtonEventMode._keyForValue(value, ButtonEventMode._MAP);
8384
}
85+
86+
/**
87+
* Retrieve all enumerated values for this class
88+
* @returns {*} - Returns an array of values
89+
*/
90+
static values () {
91+
return Object.values(ButtonEventMode._MAP);
92+
}
8493
}
8594

8695
ButtonEventMode._MAP = Object.freeze({

0 commit comments

Comments
 (0)