]> git.basschouten.com Git - openhab-addons.git/blob
f93ee7efa1d219f180c9a8d94cfc2437d14af93a
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2023 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.freebox.internal.api.model;
14
15 /**
16  * The {@link FreeboxAirMediaReceiverCapabilities} is the Java class used to map the
17  * structure used inside the response of the available AirMedia receivers API to provide
18  * the receiver capabilities
19  * https://dev.freebox.fr/sdk/os/airmedia/#
20  *
21  * @author Laurent Garnier - Initial contribution
22  */
23 public class FreeboxAirMediaReceiverCapabilities {
24     private boolean photo;
25     private boolean screen;
26     private boolean video;
27     private boolean audio;
28
29     public boolean isPhotoCapable() {
30         return photo;
31     }
32
33     public boolean isScreenCapable() {
34         return screen;
35     }
36
37     public boolean isVideoCapable() {
38         return video;
39     }
40
41     public boolean isAudioCapable() {
42         return audio;
43     }
44 }