Overview
Convenience methods for constructing GCKDevice objects and sending discovery notifications to the framework.
- Since
- 3.0
Instance Method Summary | |
(void) | - notifyDidStartDiscovery |
Notifies the discovery manager that discovery has started. More... | |
(void) | - notifyDidPublishDevice: |
Notifies the discovery manager that a new device has been published. More... | |
(void) | - notifyDidUnpublishDevice: |
Notifies the discovery manager that a previously-published device has been unpublished, because it is no longer available. More... | |
(void) | - notifyDidUpdateDevice: |
Notifies the discovery manager that one or more of a previously-published device's display attributes (such as friendly name or icons) have changed. More... | |
(GCKDevice *) | - createDeviceWithID:ipAddress:servicePort: |
Factory method for constructing new GCKDevice instances. More... | |
Method Detail
- (void) notifyDidStartDiscovery |
Notifies the discovery manager that discovery has started.
Extends class GCKDeviceProvider.
- (void) notifyDidPublishDevice: | (GCKDevice *) | device |
Notifies the discovery manager that a new device has been published.
Extends class GCKDeviceProvider.
- (void) notifyDidUnpublishDevice: | (GCKDevice *) | device |
Notifies the discovery manager that a previously-published device has been unpublished, because it is no longer available.
Extends class GCKDeviceProvider.
- (void) notifyDidUpdateDevice: | (GCKDevice *) | device |
Notifies the discovery manager that one or more of a previously-published device's display attributes (such as friendly name or icons) have changed.
Extends class GCKDeviceProvider.
- (GCKDevice *) createDeviceWithID: | (NSString *) | deviceID | |
ipAddress: | (NSString *) | ipAddress | |
servicePort: | (uint16_t) | servicePort | |
Factory method for constructing new GCKDevice instances.
The parameters correspond to immutable properties of a GCKDevice.
- Parameters
-
deviceID The unique ID identifying this device. This value must be unique among all GCKDevice objects that are created by this provider. ipAddress The IP address of the device, in numeric form (for example, @"10.0.0.10"
). May not benil
.servicePort The service port on which connections should be made to this device. May be 0 if a service port is not applicable.
Extends class GCKDeviceProvider.