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.androidtv.internal;
17 import org.eclipse.jdt.annotation.NonNullByDefault;
18 import org.openhab.core.thing.ThingTypeUID;
21 * The {@link AndroidTVBindingConstants} class defines common constants, which are
22 * used across the whole binding.
24 * @author Ben Rosenblum - Initial contribution
27 public class AndroidTVBindingConstants {
29 private static final String BINDING_ID = "androidtv";
31 // List of all Thing Type UIDs
32 public static final ThingTypeUID THING_TYPE_GOOGLETV = new ThingTypeUID(BINDING_ID, "googletv");
33 public static final ThingTypeUID THING_TYPE_SHIELDTV = new ThingTypeUID(BINDING_ID, "shieldtv");
35 public static final Set<ThingTypeUID> SUPPORTED_THING_TYPES = Set.of(THING_TYPE_GOOGLETV, THING_TYPE_SHIELDTV);
37 // List of all Channel ids
38 public static final String CHANNEL_DEBUG = "debug";
39 public static final String CHANNEL_KEYBOARD = "keyboard";
40 public static final String CHANNEL_KEYPRESS = "keypress";
41 public static final String CHANNEL_KEYCODE = "keycode";
42 public static final String CHANNEL_PINCODE = "pincode";
43 public static final String CHANNEL_APP = "app";
44 public static final String CHANNEL_APPNAME = "appname";
45 public static final String CHANNEL_APPURL = "appurl";
46 public static final String CHANNEL_POWER = "power";
47 public static final String CHANNEL_VOLUME = "volume";
48 public static final String CHANNEL_MUTE = "mute";
49 public static final String CHANNEL_PLAYER = "player";
51 // List of all config properties
52 public static final String PROPERTY_IP_ADDRESS = "ipAddress";
53 public static final String PROPERTY_GTV_ENABLED = "gtvEnabled";
55 // List of all static String literals
56 public static final String PIN_REQUEST = "REQUEST";