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.russound.internal.rio;
15 import org.openhab.core.types.State;
18 * Interface definition for any listener to state changes in a {@link RioHandlerCallback}
20 * @author Tim Roberts - Initial contribution
22 public interface RioHandlerCallbackListener {
24 * Called when the state has change
26 * @param channelId a non null, non-empty channel id that changed
27 * @param state a non-null new state
29 void stateUpdate(String channelId, State state);