]> git.basschouten.com Git - openhab-addons.git/blob
b1cca0fc4b665ab9721a092d146e410ffe8db735
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2024 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  * @author Nick Waterton - Added artMode channels
25  */
26 @NonNullByDefault
27 public class SamsungTvBindingConstants {
28
29     public static final String BINDING_ID = "samsungtv";
30
31     public static final ThingTypeUID SAMSUNG_TV_THING_TYPE = new ThingTypeUID(BINDING_ID, "tv");
32
33     // List of all remote controller thing channel id's
34     public static final String KEY_CODE = "keyCode";
35     public static final String POWER = "power";
36     public static final String ART_MODE = "artMode";
37     public static final String SET_ART_MODE = "setArtMode";
38     public static final String SOURCE_APP = "sourceApp";
39
40     // List of all media renderer thing channel id's
41     public static final String VOLUME = "volume";
42     public static final String MUTE = "mute";
43     public static final String BRIGHTNESS = "brightness";
44     public static final String CONTRAST = "contrast";
45     public static final String SHARPNESS = "sharpness";
46     public static final String COLOR_TEMPERATURE = "colorTemperature";
47
48     // List of all main TV server thing channel id's
49     public static final String SOURCE_NAME = "sourceName";
50     public static final String SOURCE_ID = "sourceId";
51     public static final String CHANNEL = "channel";
52     public static final String PROGRAM_TITLE = "programTitle";
53     public static final String CHANNEL_NAME = "channelName";
54     public static final String BROWSER_URL = "url";
55     public static final String STOP_BROWSER = "stopBrowser";
56
57     // List of all artMode channels (Frame TV's only)
58     public static final String ART_IMAGE = "artImage";
59     public static final String ART_LABEL = "artLabel";
60     public static final String ART_JSON = "artJson";
61     public static final String ART_BRIGHTNESS = "artBrightness";
62     public static final String ART_COLOR_TEMPERATURE = "artColorTemperature";
63     public static final String ART_ORIENTATION = "artOrientation";
64 }