/***************************************************************************** * VLCNetworkServerBrowserPlex.h * VLC for iOS ***************************************************************************** * Copyright (c) 2015-2018 VideoLAN. All rights reserved. * $Id$ * * Authors: Tobias Conradi * Pierre Sagaspe * * Refer to the COPYING file of the official project for license. *****************************************************************************/ #import "VLCNetworkServerBrowser-Protocol.h" #import "VLCNetworkServerLoginInformation.h" NS_ASSUME_NONNULL_BEGIN @interface VLCNetworkServerBrowserPlex : NSObject - (instancetype)initWithName:(NSString *)name host:(NSString *)addressOrName portNumber:(NSNumber *)portNumber path:(NSString *)path authentificication:(NSString *)auth NS_DESIGNATED_INITIALIZER; - (instancetype)initWithName:(NSString *)name url:(NSURL *)url auth:(NSString *)auth; - (instancetype)initWithLogin:(VLCNetworkServerLoginInformation *)login; - (instancetype)init NS_UNAVAILABLE; @end @interface VLCNetworkServerBrowserItemPlex : NSObject - (instancetype)initWithDictionary:(NSDictionary *)dictionary currentURL:(NSURL *)currentURL authentificication:(NSString *)auth; @property (nonatomic, readonly, nullable) NSString *filename; @property (nonatomic, readonly, nullable) NSString *duration; @property (nonatomic, readonly, nullable) NSString *subtitleType; @property (nonatomic, readonly, nullable) NSURL *subtitleURL; @property (nonatomic, readonly, nullable) NSURL *thumbnailURL; @property (nonatomic, readonly, nullable) NSURL *URLcontainer; @property (nonatomic, getter=isDownloadable, readonly) BOOL downloadable; @end NS_ASSUME_NONNULL_END