2 * Copyright (c) 2010-2023 Contributors to the openHAB project
4 * See the NOTICE file(s) distributed with this work for additional
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
11 * SPDX-License-Identifier: EPL-2.0
13 package org.openhab.binding.fsinternetradio.internal;
15 import org.openhab.core.thing.ThingTypeUID;
18 * This {@link FSInternetRadioBindingConstants} interface defines common constants, which are
19 * used across the whole binding.
21 * @author Patrick Koenemann - Initial contribution
23 public interface FSInternetRadioBindingConstants {
25 String BINDING_ID = "fsinternetradio";
27 // List of all Thing Type UIDs
28 ThingTypeUID THING_TYPE_RADIO = new ThingTypeUID(BINDING_ID, "radio");
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";
41 String CONFIG_PROPERTY_IP = "ip";
42 String CONFIG_PROPERTY_PIN = "pin";
43 String CONFIG_PROPERTY_PORT = "port";
44 String CONFIG_PROPERTY_REFRESH = "refresh";
47 String PROPERTY_MANUFACTURER = "manufacturer";
48 String PROPERTY_MODEL = "model";