]> git.basschouten.com Git - openhab-addons.git/blob
ffe182874deb4a20e6bcb76d24e6ac5d23b602c5
[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.samsungtv.internal;
14
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16 import org.openhab.core.thing.ThingTypeUID;
17
18 /**
19  * The {@link SamsungTvBindingConstants} class defines common constants, which are used
20  * across the whole binding.
21  *
22  * @author Pauli Anttila - Initial contribution
23  * @author Arjan Mels - Added constants for websocket based remote controller
24  */
25 @NonNullByDefault
26 public class SamsungTvBindingConstants {
27
28     public static final String BINDING_ID = "samsungtv";
29
30     public static final ThingTypeUID SAMSUNG_TV_THING_TYPE = new ThingTypeUID(BINDING_ID, "tv");
31
32     // List of all remote controller thing channel id's
33     public static final String KEY_CODE = "keyCode";
34     public static final String POWER = "power";
35     public static final String ART_MODE = "artMode";
36     public static final String SOURCE_APP = "sourceApp";
37
38     // List of all media renderer thing channel id's
39     public static final String VOLUME = "volume";
40     public static final String MUTE = "mute";
41     public static final String BRIGHTNESS = "brightness";
42     public static final String CONTRAST = "contrast";
43     public static final String SHARPNESS = "sharpness";
44     public static final String COLOR_TEMPERATURE = "colorTemperature";
45
46     // List of all main TV server thing channel id's
47     public static final String SOURCE_NAME = "sourceName";
48     public static final String SOURCE_ID = "sourceId";
49     public static final String CHANNEL = "channel";
50     public static final String PROGRAM_TITLE = "programTitle";
51     public static final String CHANNEL_NAME = "channelName";
52     public static final String BROWSER_URL = "url";
53     public static final String STOP_BROWSER = "stopBrowser";
54 }