]> git.basschouten.com Git - openhab-addons.git/blob
62717beb574fd9602faa02b12cc0d446f9c1e1b5
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2021 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.androiddebugbridge.internal;
14
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16 import org.eclipse.jdt.annotation.Nullable;
17
18 /**
19  * The {@link AndroidDebugBridgeConfiguration} class contains fields mapping thing configuration parameters.
20  *
21  * @author Miguel Álvarez - Initial contribution
22  */
23 @NonNullByDefault
24 public class AndroidDebugBridgeConfiguration {
25     /**
26      * The IP address to use for connecting to the Android device.
27      */
28     public String ip = "";
29     /**
30      * Sample configuration parameter. Replace with your own.
31      */
32     public int port;
33     /**
34      * Time for scheduled state check.
35      */
36     public int refreshTime = 30;
37     /**
38      * Command timeout seconds.
39      */
40     public int timeout = 5;
41     /**
42      * Record input duration in seconds.
43      */
44     public int recordDuration = 5;
45     /**
46      * Configure media state detection behavior by package
47      */
48     public @Nullable String mediaStateJSONConfig;
49 }