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
26 public class SamsungTvBindingConstants {
28 public static final String BINDING_ID = "samsungtv";
30 public static final ThingTypeUID SAMSUNG_TV_THING_TYPE = new ThingTypeUID(BINDING_ID, "tv");
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";
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";
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";