]> git.basschouten.com Git - openhab-addons.git/blob
7995ea053ad052e4dad851c7f763f16e62084579
[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 AvailableSources} is used to find out, which sources and functions are available
19  *
20  * @author Thomas Traunbauer - Initial contribution
21  */
22
23 @NonNullByDefault
24 public interface AvailableSources {
25
26     boolean isBluetoothAvailable();
27
28     boolean isAUXAvailable();
29
30     boolean isAUX1Available();
31
32     boolean isAUX2Available();
33
34     boolean isAUX3Available();
35
36     boolean isTVAvailable();
37
38     boolean isHDMI1Available();
39
40     boolean isInternetRadioAvailable();
41
42     boolean isStoredMusicAvailable();
43
44     boolean isBassAvailable();
45
46     void setAUXAvailable(boolean aux);
47
48     void setAUX1Available(boolean aux1);
49
50     void setAUX2Available(boolean aux2);
51
52     void setAUX3Available(boolean aux3);
53
54     void setStoredMusicAvailable(boolean storedMusic);
55
56     void setInternetRadioAvailable(boolean internetRadio);
57
58     void setBluetoothAvailable(boolean bluetooth);
59
60     void setTVAvailable(boolean tv);
61
62     void setHDMI1Available(boolean hdmi1);
63
64     void setBassAvailable(boolean bass);
65 }