]> git.basschouten.com Git - openhab-addons.git/blob
5eb004b054e3b947ba4e3a63a3e9bce4e6ae34fa
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2020 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.lgwebos.action;
14
15 import java.io.IOException;
16
17 import org.eclipse.jdt.annotation.NonNullByDefault;
18
19 /**
20  * The {@link ILGWebOSActions} defines the interface for all thing actions supported by the binding.
21  *
22  * @author Laurent Garnier - Initial contribution
23  */
24 @NonNullByDefault
25 public interface ILGWebOSActions {
26
27     public void showToast(String text) throws IOException;
28
29     public void showToast(String icon, String text) throws IOException;
30
31     public void launchBrowser(String url);
32
33     public void launchApplication(String appId);
34
35     public void launchApplication(String appId, String params);
36
37     public void sendText(String text);
38
39     public void sendButton(String button);
40
41     public void increaseChannel();
42
43     public void decreaseChannel();
44
45     public void sendRCButton(String rcButton);
46 }