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.freebox.internal.api.model;
16 * The {@link FreeboxAirMediaReceiver} is the Java class used to map the "AirMediaReceiver"
17 * structure used by the available AirMedia receivers API
18 * https://dev.freebox.fr/sdk/os/airmedia/#
20 * @author Laurent Garnier - Initial contribution
22 public class FreeboxAirMediaReceiver {
24 private boolean passwordProtected;
25 private FreeboxAirMediaReceiverCapabilities capabilities;
27 public String getName() {
31 public boolean isPasswordProtected() {
32 return passwordProtected;
35 public FreeboxAirMediaReceiverCapabilities getCapabilities() {
39 public boolean isPhotoCapable() {
40 return capabilities.isPhotoCapable();
43 public boolean isScreenCapable() {
44 return capabilities.isScreenCapable();
47 public boolean isVideoCapable() {
48 return capabilities.isVideoCapable();
51 public boolean isAudioCapable() {
52 return capabilities.isAudioCapable();