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.androiddebugbridge.internal;
17 import org.eclipse.jdt.annotation.NonNullByDefault;
18 import org.openhab.core.thing.ThingTypeUID;
21 * The {@link AndroidDebugBridgeBindingConstants} class defines common constants, which are
22 * used across the whole binding.
24 * @author Miguel Álvarez - Initial contribution
27 public class AndroidDebugBridgeBindingConstants {
29 private static final String BINDING_ID = "androiddebugbridge";
30 public static final String BINDING_CONFIGURATION_PID = "binding.androiddebugbridge";
32 // List of all Thing Type UIDs
33 public static final ThingTypeUID THING_TYPE_ANDROID_DEVICE = new ThingTypeUID(BINDING_ID, "android");
34 public static final Set<ThingTypeUID> SUPPORTED_THING_TYPES = Set.of(THING_TYPE_ANDROID_DEVICE);
35 // List of all Channel ids
36 public static final String START_INTENT_CHANNEL = "start-intent";
37 public static final String KEY_EVENT_CHANNEL = "key-event";
38 public static final String TEXT_CHANNEL = "text";
39 public static final String TAP_CHANNEL = "tap";
40 public static final String URL_CHANNEL = "url";
41 public static final String MEDIA_VOLUME_CHANNEL = "media-volume";
42 public static final String MEDIA_CONTROL_CHANNEL = "media-control";
43 public static final String START_PACKAGE_CHANNEL = "start-package";
44 public static final String STOP_PACKAGE_CHANNEL = "stop-package";
45 public static final String STOP_CURRENT_PACKAGE_CHANNEL = "stop-current-package";
46 public static final String CURRENT_PACKAGE_CHANNEL = "current-package";
47 public static final String AWAKE_STATE_CHANNEL = "awake-state";
48 public static final String WAKE_LOCK_CHANNEL = "wake-lock";
49 public static final String SCREEN_STATE_CHANNEL = "screen-state";
50 public static final String SHUTDOWN_CHANNEL = "shutdown";
51 public static final String RECORD_INPUT_CHANNEL = "record-input";
52 public static final String RECORDED_INPUT_CHANNEL = "recorded-input";
53 // List of all Parameters
54 public static final String PARAMETER_IP = "ip";
55 public static final String PARAMETER_PORT = "port";