2 * Copyright (c) 2010-2020 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.lgwebos.action;
15 import java.io.IOException;
17 import org.eclipse.jdt.annotation.NonNullByDefault;
20 * The {@link ILGWebOSActions} defines the interface for all thing actions supported by the binding.
22 * @author Laurent Garnier - Initial contribution
25 public interface ILGWebOSActions {
27 public void showToast(String text) throws IOException;
29 public void showToast(String icon, String text) throws IOException;
31 public void launchBrowser(String url);
33 public void launchApplication(String appId);
35 public void launchApplication(String appId, String params);
37 public void sendText(String text);
39 public void sendButton(String button);
41 public void increaseChannel();
43 public void decreaseChannel();
45 public void sendRCButton(String rcButton);