The GCKDiscoveryManager listener protocol.
- Since
- 3.0
Inherits <NSObjectNSObject>.
- (void) didStartDiscoveryForDeviceCategory: |
|
(NSString *) |
deviceCategory |
|
|
optional |
Called when discovery has started for the given device category.
- (void) willUpdateDeviceList |
|
|
|
|
optional |
Called when the list of discovered devices is about to be updated in some way.
- (void) didUpdateDeviceList |
|
|
|
|
optional |
Called when the list of discovered devices has been updated in some way.
- (void) didInsertDevice: |
|
(GCKDevice *) |
device |
atIndex: |
|
(NSUInteger) |
index |
|
|
| |
|
optional |
Called when a newly-discovered device has been inserted into the list of devices.
- Parameters
-
device | The device that was inserted. |
index | The list index at which the device was inserted. |
- (void) didUpdateDevice: |
|
(GCKDevice *) |
device |
atIndex: |
|
(NSUInteger) |
index |
|
|
| |
|
optional |
Called when a previously-discovered device has been updated.
- Parameters
-
device | The device that was updated. |
index | The list index of the device. |
- (void) didUpdateDevice: |
|
(GCKDevice *) |
device |
atIndex: |
|
(NSUInteger) |
index |
andMoveToIndex: |
|
(NSUInteger) |
newIndex |
|
|
| |
|
optional |
Called when a previously-discovered device has been updated and/or reordered within the list.
- Parameters
-
device | The device that was updated. |
index | The previous list index of the device. |
newIndex | The current list index of the device. |
- (void) didRemoveDeviceAtIndex: |
|
(NSUInteger) |
index |
|
|
optional |
Called when a previously-discovered device has gone offline and has been removed from the list of devices.
- Parameters
-
index | The list index of the device that was removed. |