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