]> git.basschouten.com Git - openhab-addons.git/blob
222d6e4c4ad7ab2ce3b50dba507453fb101fbdde
[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.heos.internal.resources;
14
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16
17 /**
18  * The {@link HeosConstants} provides the constants used within the HEOS
19  * network
20  *
21  * @author Johannes Einig - Initial contribution
22  */
23 @NonNullByDefault
24 public class HeosConstants {
25
26     public static final String HEOS = "heos";
27
28     public static final String CONNECTION_LOST = "connection_lost";
29     public static final String EVENT_STREAM_TIMEOUT = "event_stream_timeout";
30     public static final String CONNECTION_RESTORED = "connection_restored";
31
32     public static final String PID = "pid";
33
34     // Event Results
35     public static final String ON = "on";
36     public static final String OFF = "off";
37     public static final String REPEAT_ALL = "on_all";
38     public static final String REPEAT_ONE = "on_one";
39
40     // Event Types
41     public static final String EVENT_TYPE_SYSTEM = "system";
42     public static final String EVENT_TYPE_EVENT = "event";
43
44     // Browse Command
45     public static final String FAVORITE_SID = "1028";
46     public static final String PLAYLISTS_SID = "1025";
47     public static final int INPUT_SID = 1027;
48
49     public static final String PLAY = "play";
50     public static final String PAUSE = "pause";
51     public static final String STOP = "stop";
52     public static final String STATION = "station";
53     public static final String SONG = "song";
54
55     // UI Commands
56     public static final String HEOS_UI_ALL = "All";
57     public static final String HEOS_UI_ONE = "One";
58     public static final String HEOS_UI_OFF = "Off";
59 }