VLCKit: Headers/Public/VLCRendererItem.h Source File

VLCKit

VLCRendererItem.h
1 /*****************************************************************************
2 * VLCRendererItem.h
3 *****************************************************************************
4 * Copyright © 2018 VLC authors, VideoLAN
5 * Copyright © 2018 Videolabs
6 *
7 * Authors: Soomin Lee<bubu@mikan.io>
8 *
9 * This program is free software; you can redistribute it and/or modify it
10 * under the terms of the GNU Lesser General Public License as published by
11 * the Free Software Foundation; either version 2.1 of the License, or
12 * (at your option) any later version.
13 *
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU Lesser General Public License for more details.
18 *
19 * You should have received a copy of the GNU Lesser General Public License
20 * along with this program; if not, write to the Free Software Foundation,
21 * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
22 *****************************************************************************/
23
24 NS_ASSUME_NONNULL_BEGIN
25
26 typedef NS_OPTIONS(NSInteger, VLCRendererPlay) {
28 VLCRendererPlaysAudio = 1 << 0,
30 VLCRendererPlaysVideo = 1 << 1
31 };
32
36 @interface VLCRendererItem : NSObject
37
41 @property (nonatomic, readonly, copy) NSString *name;
42
46 @property (nonatomic, readonly, copy) NSString *type;
47
51 @property (nonatomic, readonly, copy) NSString *iconURI;
52
56 @property (nonatomic, readonly, assign) int flags;
57
62 - (instancetype)init NS_UNAVAILABLE;
63
64 @end
65
66 NS_ASSUME_NONNULL_END
VLCRendererItem::name
NSString * name
Definition: VLCRendererItem.h:41
VLCRendererItem::flags
int flags
Definition: VLCRendererItem.h:56
VLCRendererItem::iconURI
NSString * iconURI
Definition: VLCRendererItem.h:51
-[VLCRendererItem NS_UNAVAILABLE]
instancetype NS_UNAVAILABLE()
VLCRendererItem::type
NSString * type
Definition: VLCRendererItem.h:46
VLCRendererItem
Definition: VLCRendererItem.h:37