]> git.basschouten.com Git - openhab-addons.git/blob
4ce1215799b9d3ab5870cb880da0cf55571ad845
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2024 Contributors to the openHAB project
3  *
4  * See the NOTICE file(s) distributed with this work for additional
5  * information.
6  *
7  * This program and the accompanying materials are made available under the
8  * terms of the Eclipse Public License 2.0 which is available at
9  * http://www.eclipse.org/legal/epl-2.0
10  *
11  * SPDX-License-Identifier: EPL-2.0
12  */
13 package org.openhab.binding.samsungtv.internal.protocol;
14
15 import java.util.stream.Stream;
16
17 import org.eclipse.jdt.annotation.NonNullByDefault;
18
19 /**
20  * The {@link KnownAppId} lists all the known app IDs for Samsung TV's
21  * 
22  *
23  * @author Nick Waterton - Initial contribution
24  */
25 @NonNullByDefault
26 public enum KnownAppId {
27
28     $111477000094,
29     $111299001912,
30     $3201606009684,
31     $3201907018807,
32     $3201901017640,
33     $3201907018784,
34     $3201506003488,
35     $11091000000,
36     $3201910019365,
37     $3201909019271,
38     $111399000741,
39     $3201601007250,
40     $3201807016597,
41     $3201705012392,
42     $111299001563,
43     $3201703012065,
44     $3201512006963,
45     $111199000333,
46     $3201506003486,
47     $3201608010191,
48     $111399002220,
49     $3201710015037,
50     $3201601007492,
51     $3201412000690,
52     $3201908019041,
53     $3201602007865,
54     $141299000100,
55     $3201504001965,
56     $111299002012,
57     $3201503001543,
58     $3201611010983,
59     $3201910019378,
60     $3202001019933,
61     $3201909019241,
62     $121299000101,
63     $3201606009761,
64     $11101302013,
65     $3201906018525,
66     $3201711015117,
67     $3201810017104,
68     $3201602007756,
69     $3201809016888,
70     $3201912019909,
71     $3201503001544,
72     $3201711015226,
73     $3201505002589,
74     $3201710014896,
75     $3201706014180,
76     $111477000821,
77     $3201803015852,
78     $3201811017268,
79     $3201812017547,
80     $3201710014874,
81     $111199000385,
82     $3201904018282,
83     $3201601007494,
84     $3202004020643,
85     $3201910019457,
86     $11111358501,
87     $3202001020081,
88     $3201801015627,
89     $3201905018484,
90     $3201803015859,
91     $11101265008,
92     $3201709014773,
93     $3201610010879,
94     $3201707014498,
95     $3201708014527,
96     $141477000022,
97     $3201801015626,
98     $3201807016587,
99     $3201711015231,
100     $3201807016674,
101     $3201511006542,
102     $3201508004704,
103     $3201801015538,
104     $3201704012154,
105     $3201703011982,
106     $3201706012493,
107     $111399002178,
108     $3201603008210,
109     $3201806016381,
110     $3201509005146,
111     $3201811017353,
112     $3201710014863,
113     $3201607009975,
114     $3201512006945,
115     $3202006021142,
116     $3201705012304,
117     $3201805016367,
118     $3201808016760,
119     $3202003020459,
120     $3201803015991,
121     $3201903017912,
122     $3202011022252,
123     $3201411000389,
124     $3201807016618,
125     $3201906018623,
126     $111299000513,
127     $3201904018194,
128     $3201807016684,
129     $3201902017876,
130     $3201604008870,
131     $3202002020129,
132     $111399001123,
133     $111399000688,
134     $3201511006183,
135     $3201711015236,
136     $3201809016920,
137     $3202102022877,
138     $3201703012085,
139     $3201711015135,
140     $3201902017816,
141     $3202001019931,
142     $3201703012072,
143     $3201705012342,
144     $3201911019690,
145     $3201506003515,
146     $3201707014361,
147     $3201710014949,
148     $3201801015605,
149     $3201809016944,
150     $3201904018177,
151     $3202004020488,
152     $3202012022500,
153     $111477001084,
154     $3202005020803,
155     $3202009021746,
156     $3201509005241,
157     $3201901017667,
158     $3201902017805,
159     $3201906018589,
160     $3201910019513,
161     $3202002020207,
162     $3202011022316,
163     $3201806016390,
164     $3201511006303,
165     $3201503001595,
166     $3201808016753,
167     $3201802015704,
168     $3201510005851,
169     $111399000614,
170     $111477000321,
171     $3201611011182,
172     $3201710015010,
173     $3201711015270,
174     $3201906018592,
175     $111399001818,
176     $111477001142,
177     $3201502001401,
178     $3201702011856,
179     $3202006021030,
180     $3201601007242,
181     $3201710014880,
182     $3201805016238,
183     $3201807016667,
184     $3201810017123,
185     $3201812017448,
186     $3201901017681,
187     $3201903017932,
188     $3201903018099,
189     $3201904018148,
190     $3201906018571,
191     $3202011022310,
192     $3201709014853,
193     $3201710014943,
194     $3201804016166,
195     $3201806016457,
196     $3201811017306,
197     $3201903018024,
198     $3201906018671,
199     $3201907018724,
200     $3201908019017,
201     $3201909019144,
202     $3202007021295,
203     $3202104023386,
204     $3201603008165,
205     $3201802015822,
206     $3201804016080,
207     $3201907018838,
208     $3201908019025,
209     $3201908019062,
210     $3201910019499,
211     $3201911019575,
212     $3202001020086,
213     $3202002020178,
214     $3202012022492,
215     $3202102022872,
216     $3202103023104,
217     $3202106024080,
218     $3201604009179,
219     $11101300901,
220     $111399002250,
221     $3202002020229,
222     $3201505002443,
223     $3201802015746,
224     $3201508004622,
225     $3201806016406,
226     $3201905018447,
227     $3201603008706,
228     $3201806016479,
229     $3201905018474,
230     $3202007021398,
231     $111199000508,
232     $3201504002232,
233     $3201507004202,
234     $3201803015935,
235     $3201812017585,
236     $3201907018731,
237     $3202009021808,
238     $3202101022764,
239     $3201703012087,
240     $3201712015352,
241     $3201802015699,
242     $3201803016004,
243     $3201805016320,
244     $3201806016427,
245     $3201807016539,
246     $3201808016755,
247     $3201809016984,
248     $3201811017219,
249     $3201811017276,
250     $3201812017467,
251     $3201904018227,
252     $3201904018291,
253     $3201905018501,
254     $3201906018593,
255     $3201907018732,
256     $3202005020759,
257     $3202010022023,
258     $111477000722,
259     $3201506003105,
260     $3201506003414,
261     $3201509005084,
262     $3201704012267,
263     $3201705012355,
264     $3201707014446,
265     $3201708014611,
266     $3201708014652,
267     $3201709014747,
268     $3201712015402,
269     $3201801015628,
270     $3201809016892,
271     $3201809016985,
272     $3201811017183,
273     $3201811017190,
274     $3201812017384,
275     $3201812017444,
276     $3201812017553,
277     $3201903018100,
278     $3201904018119,
279     $3201906018622,
280     $3201908018930,
281     $3201909019268,
282     $3201911019579,
283     $3202003020389,
284     $3202006020897,
285     $3202009021792,
286     $3202102022907,
287     $111477000567,
288     $3201509005087,
289     $3201512006941,
290     $3201512007023,
291     $3201605009390,
292     $3201606009782,
293     $3201606009783,
294     $3201606009887,
295     $3201607010167,
296     $3201610010753,
297     $3201704012271,
298     $3201705012435,
299     $3201706012513,
300     $3201706014294,
301     $3201708014531,
302     $3201708014677,
303     $3201801015505,
304     $3201801015599,
305     $3201802015810,
306     $3201804016078,
307     $3201811017191,
308     $3201812017437,
309     $3201812017447,
310     $3201902017790,
311     $3201902017811,
312     $3201903018023,
313     $3201904018165,
314     $3201905018373,
315     $3201905018405,
316     $3201906018530,
317     $3201906018558,
318     $3201906018560,
319     $3201906018596,
320     $3201906018620,
321     $3201908018992,
322     $3201908019034,
323     $3201909019229,
324     $3201911019572,
325     $3201911019711,
326     $3201912019798,
327     $3201912019850,
328     $3202001019936,
329     $3202002020105,
330     $3202002020248,
331     $3202003020417,
332     $3202004020552,
333     $3202004020578,
334     $3202005020752,
335     $3202005020804,
336     $3202006021035,
337     $3202007021160,
338     $3202007021420,
339     $3202008021578,
340     $3202009021791,
341     $3202011022262,
342     $3202011022315,
343     $3202012022373,
344     $3202012022431,
345     $3202012022473,
346     $3202012022481,
347     $3202012022558,
348     $3202012022577,
349     $3202101022640,
350     $3202101022656,
351     $3202101022721,
352     $3202101022755,
353     $3202101022788,
354     $3202102022932,
355     $3202102023007,
356     $3202102023056,
357     $3202103023211,
358     $3202103023338,
359     $3202104023388,
360     $3202104023522,
361     $3202105023716,
362     $3202105023733,
363     $3202106024097,
364     $3202107024412,
365     $3202004020674,
366     $3202004020626;
367
368     private final String value;
369
370     KnownAppId() {
371         value = "";
372     }
373
374     KnownAppId(String value) {
375         this.value = value.replace("$", "");
376     }
377
378     KnownAppId(KnownAppId otherAppId) {
379         this(otherAppId.getValue());
380     }
381
382     public String getValue() {
383         if ("".equals(value)) {
384             return this.name().replace("$", "");
385         }
386         return value.replace("$", "");
387     }
388
389     public static Stream<String> stream() {
390         return Stream.of(KnownAppId.values()).map(a -> a.getValue());
391     }
392 }