2 * Copyright (c) 2010-2024 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.samsungtv.internal;
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16 import org.openhab.core.thing.ThingTypeUID;
19 * The {@link SamsungTvBindingConstants} class defines common constants, which are used
20 * across the whole binding.
22 * @author Pauli Anttila - Initial contribution
23 * @author Arjan Mels - Added constants for websocket based remote controller
24 * @author Nick Waterton - Added artMode channels
27 public class SamsungTvBindingConstants {
29 public static final String BINDING_ID = "samsungtv";
31 public static final ThingTypeUID SAMSUNG_TV_THING_TYPE = new ThingTypeUID(BINDING_ID, "tv");
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";
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";
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";
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";