GCKDeviceProvider+Protected.h
1 // Copyright 2015 Google Inc.
2 
3 #import <GoogleCast/GCKDeviceProvider.h>
4 
5 #import <GoogleCast/GCKDefines.h>
6 #import <GoogleCast/GCKDevice.h>
7 
8 #import <Foundation/Foundation.h>
9 
10 GCK_ASSUME_NONNULL_BEGIN
11 
19 
23 - (void)notifyDidStartDiscovery;
24 
28 - (void)notifyDidPublishDevice:(GCKDevice *)device;
29 
34 - (void)notifyDidUnpublishDevice:(GCKDevice *)device;
35 
40 - (void)notifyDidUpdateDevice:(GCKDevice *)device;
41 
55 - (GCKDevice *)createDeviceWithID:(NSString *)deviceID
56  ipAddress:(NSString *)ipAddress
57  servicePort:(uint16_t)servicePort
58  GCK_DEPRECATED("Use createDeviceWithID:networkAddress:servicePort: for IPv4 and IPv6 support");
59 
72 - (GCKDevice *)createDeviceWithID:(NSString *)deviceID
73  networkAddress:(GCKNetworkAddress *)networkAddress
74  servicePort:(uint16_t)servicePort;
75 
76 @end
77 
78 GCK_ASSUME_NONNULL_END
An object representing a receiver device.
Definition: GCKDevice.h:82
An object that represents a network IP address.
Definition: GCKNetworkAddress.h:34
Convenience methods for constructing GCKDevice objects and sending discovery notifications to the fra...
Definition: GCKDeviceProvider+Protected.h:18