]> git.basschouten.com Git - openhab-addons.git/blob
7cf95069ef83bb14d72c6598dd23673571b6fa0a
[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.allplay.internal;
14
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16 import org.openhab.core.thing.ThingTypeUID;
17
18 /**
19  * The {@link AllPlayBindingConstants} class defines common constants, which are
20  * used across the whole binding.
21  *
22  * @author Dominic Lerbs - Initial contribution
23  */
24 @NonNullByDefault
25 public class AllPlayBindingConstants {
26
27     public static final String BINDING_ID = "allplay";
28
29     // List of all Thing Type UIDs
30     public static final ThingTypeUID SPEAKER_THING_TYPE = new ThingTypeUID(BINDING_ID, "speaker");
31
32     // List of all Channel ids
33     public static final String CLEAR_ZONE = "clearzone";
34     public static final String CONTROL = "control";
35     public static final String CURRENT_ALBUM = "currentalbum";
36     public static final String CURRENT_ARTIST = "currentartist";
37     public static final String CURRENT_DURATION = "currentduration";
38     public static final String CURRENT_GENRE = "currentgenre";
39     public static final String CURRENT_TITLE = "currenttitle";
40     public static final String CURRENT_URL = "currenturl";
41     public static final String CURRENT_USER_DATA = "currentuserdata";
42     public static final String INPUT = "input";
43     public static final String LOOP_MODE = "loopmode";
44     public static final String MUTE = "mute";
45     public static final String PLAY_STATE = "playstate";
46     public static final String SHUFFLE_MODE = "shufflemode";
47     public static final String STOP = "stop";
48     public static final String STREAM = "stream";
49     public static final String COVER_ART = "coverart";
50     public static final String COVER_ART_URL = "coverarturl";
51     public static final String VOLUME = "volume";
52     public static final String VOLUME_CONTROL = "volumecontrol";
53     public static final String ZONE_ID = "zoneid";
54     public static final String ZONE_MEMBERS = "zonemembers";
55
56     // Config properties
57     public static final String DEVICE_ID = "deviceId";
58     public static final String DEVICE_NAME = "deviceName";
59     public static final String VOLUME_STEP_SIZE = "volumeStepSize";
60 }