]> git.basschouten.com Git - openhab-addons.git/blob
95020a7054c6a24ef93935d387c16e3f9cd68152
[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.fsinternetradio.internal;
14
15 import org.openhab.core.thing.ThingTypeUID;
16
17 /**
18  * This {@link FSInternetRadioBindingConstants} interface defines common constants, which are
19  * used across the whole binding.
20  *
21  * @author Patrick Koenemann - Initial contribution
22  */
23 public interface FSInternetRadioBindingConstants {
24
25     String BINDING_ID = "fsinternetradio";
26
27     // List of all Thing Type UIDs
28     ThingTypeUID THING_TYPE_RADIO = new ThingTypeUID(BINDING_ID, "radio");
29
30     // List of all Channel ids
31     String CHANNEL_POWER = "power";
32     String CHANNEL_PRESET = "preset";
33     String CHANNEL_VOLUME_PERCENT = "volume-percent";
34     String CHANNEL_VOLUME_ABSOLUTE = "volume-absolute";
35     String CHANNEL_MUTE = "mute";
36     String CHANNEL_PLAY_INFO_NAME = "play-info-name";
37     String CHANNEL_PLAY_INFO_TEXT = "play-info-text";
38     String CHANNEL_MODE = "mode";
39
40     // config properties
41     String CONFIG_PROPERTY_IP = "ip";
42     String CONFIG_PROPERTY_PIN = "pin";
43     String CONFIG_PROPERTY_PORT = "port";
44     String CONFIG_PROPERTY_REFRESH = "refresh";
45
46     // further properties
47     String PROPERTY_MANUFACTURER = "manufacturer";
48     String PROPERTY_MODEL = "model";
49 }