VLCNetworkServerBrowserSharedLibrary.h 1.2 KB

1234567891011121314151617181920212223242526272829303132
  1. /*****************************************************************************
  2. * VLCNetworkServerBrowserSharedLibrary.h
  3. * VLC for iOS
  4. *****************************************************************************
  5. * Copyright (c) 2015-2017 VideoLAN. All rights reserved.
  6. * $Id$
  7. *
  8. * Authors: Tobias Conradi <videolan # tobias-conradi.de>
  9. *
  10. * Refer to the COPYING file of the official project for license.
  11. *****************************************************************************/
  12. #import "VLCNetworkServerBrowser-Protocol.h"
  13. NS_ASSUME_NONNULL_BEGIN
  14. @interface VLCNetworkServerBrowserSharedLibrary : NSObject <VLCNetworkServerBrowser>
  15. - (instancetype)initWithName:(NSString *)name host:(NSString *)addressOrName portNumber:(NSUInteger)portNumber NS_DESIGNATED_INITIALIZER;
  16. - (instancetype)init NS_UNAVAILABLE;
  17. @end
  18. @interface VLCNetworkServerBrowserItemSharedLibrary : NSObject <VLCNetworkServerBrowserItem>
  19. - (instancetype)initWithDictionary:(NSDictionary *)dictionary;
  20. @property (nonatomic, readonly, nullable) NSURL *subtitleURL;
  21. @property (nonatomic, readonly, nullable) NSString *duration;
  22. @property (nonatomic, readonly, nullable) NSURL *thumbnailURL;
  23. @property (nonatomic, getter=isDownloadable, readonly) BOOL downloadable;
  24. @end
  25. NS_ASSUME_NONNULL_END