/***************************************************************************** * VLCLocalServerDiscoveryController.h * VLC for iOS ***************************************************************************** * Copyright (c) 2015 VideoLAN. All rights reserved. * $Id$ * * Authors: Felix Paul Kühne * Tobias Conradi * * Refer to the COPYING file of the official project for license. *****************************************************************************/ #import #import "VLCLocalNetworkService-Protocol.h" @protocol VLCLocalServerDiscoveryControllerDelegate - (void)discoveryFoundSomethingNew; @end @interface VLCLocalServerDiscoveryController : NSObject @property (nonatomic, readwrite, weak) id delegate; // array of classes conforming to VLCLocalNetworkServiceBrowser - (instancetype)initWithServiceBrowserClasses:(NSArray *)serviceBrowserClasses; - (NSUInteger)numberOfSections; - (NSUInteger)numberOfItemsInSection:(NSUInteger)section; - (BOOL)foundAnythingAtAll; - (id)networkServiceForIndexPath:(NSIndexPath *)indexPath; - (void)stopDiscovery; - (BOOL)refreshDiscoveredData; - (void)startDiscovery; @end