mirror of
https://github.com/moonlight-stream/moonlight-ios.git
synced 2026-04-19 15:00:44 +00:00
Added long press to remove/unpair host
This commit is contained in:
@@ -22,6 +22,7 @@
|
||||
- (void) startDiscovery;
|
||||
- (void) stopDiscovery;
|
||||
- (void) addHostToDiscovery:(Host*)host;
|
||||
- (void) removeHostFromDiscovery:(Host*)host;
|
||||
- (void) discoverHost:(NSString*)hostAddress withCallback:(void (^)(Host*))callback;
|
||||
|
||||
@end
|
||||
|
||||
@@ -130,6 +130,10 @@
|
||||
[_hostQueue addObject:host];
|
||||
}
|
||||
|
||||
- (void) removeHostFromDiscovery:(Host *)host {
|
||||
[_hostQueue removeObject:host];
|
||||
}
|
||||
|
||||
- (void)updateHosts:(NSArray *)hosts {
|
||||
[_hostQueue addObjectsFromArray:hosts];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user