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.heos.internal.resources;
15 import org.eclipse.jdt.annotation.NonNullByDefault;
18 * The {@link HeosConstants} provides the constants used within the HEOS
21 * @author Johannes Einig - Initial contribution
24 public class HeosConstants {
26 public static final String HEOS = "heos";
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";
32 public static final String PID = "pid";
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";
41 public static final String EVENT_TYPE_SYSTEM = "system";
42 public static final String EVENT_TYPE_EVENT = "event";
45 public static final String FAVORITE_SID = "1028";
46 public static final String PLAYLISTS_SID = "1025";
47 public static final int INPUT_SID = 1027;
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";
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";