]> git.basschouten.com Git - openhab-addons.git/blob
3eb7e864b0a51de2613502c9d2528a9027e996b0
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2023 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.bosesoundtouch.internal;
14
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16
17 /**
18  * The {@link OperationModeType} class is holding all OperationModes
19  *
20  * @author Christian Niessner - Initial contribution
21  * @author Thomas Traunbauer - Initial contribution
22  */
23 @NonNullByDefault
24 public enum OperationModeType {
25     OFFLINE,
26     STANDBY,
27     INTERNET_RADIO,
28     BLUETOOTH,
29     AUX,
30     AUX1,
31     AUX2,
32     AUX3,
33     SPOTIFY,
34     PANDORA,
35     DEEZER,
36     SIRIUSXM,
37     STORED_MUSIC,
38     AMAZON,
39     TV,
40     HDMI1,
41     TUNEIN,
42     ALEXA,
43     OTHER;
44
45     private String name;
46
47     private OperationModeType() {
48         this.name = name();
49     }
50
51     @Override
52     public String toString() {
53         return name;
54     }
55 }