<GCKDiscoveryManagerListener > Protocol Reference

The GCKDiscoveryManager listener protocol. More...

#import <GCKDiscoveryManager.h>

+ Inheritance diagram for <GCKDiscoveryManagerListener >:

Instance Methods

(void) - didStartDiscoveryForDeviceCategory:
 Called when discovery has started for the given device category. More...
 
(void) - willUpdateDeviceList
 Called when the list of discovered devices is about to be updated in some way. More...
 
(void) - didUpdateDeviceList
 Called when the list of discovered devices has been updated in some way. More...
 
(void) - didInsertDevice:atIndex:
 Called when a newly-discovered device has been inserted into the list of devices. More...
 
(void) - didUpdateDevice:atIndex:
 Called when a previously-discovered device has been updated. More...
 
(void) - didUpdateDevice:atIndex:andMoveToIndex:
 Called when a previously-discovered device has been updated and/or reordered within the list. More...
 
(void) - didRemoveDeviceAtIndex:
 Called when a previously-discovered device has gone offline and has been removed from the list of devices. More...
 
(void) - didRemoveDevice:atIndex:
 Called when a previously-discovered device has gone offline and has been removed from the list of devices. More...
 

Detailed Description

The GCKDiscoveryManager listener protocol.

Since
3.0

Method Documentation

- (void GCKDiscoveryManagerListener) didInsertDevice: (GCKDevice *)  device
atIndex: (NSUInteger)  index 
optional

Called when a newly-discovered device has been inserted into the list of devices.

Parameters
deviceThe device that was inserted.
indexThe list index at which the device was inserted.
- (void GCKDiscoveryManagerListener) didRemoveDevice: (GCKDevice *)  device
atIndex: (NSUInteger)  index 
optional

Called when a previously-discovered device has gone offline and has been removed from the list of devices.

This is an alternative to didRemoveDeviceAtIndex:. If both are implemented, both will be called.

Parameters
deviceThe device that was removed.
indexThe list index of the device that was removed.
Since
4.1
- (void GCKDiscoveryManagerListener) didRemoveDeviceAtIndex: (NSUInteger)  index
optional

Called when a previously-discovered device has gone offline and has been removed from the list of devices.

Parameters
indexThe list index of the device that was removed.
- (void GCKDiscoveryManagerListener) didStartDiscoveryForDeviceCategory: (NSString *)  deviceCategory
optional

Called when discovery has started for the given device category.

- (void GCKDiscoveryManagerListener) didUpdateDevice: (GCKDevice *)  device
atIndex: (NSUInteger)  index 
optional

Called when a previously-discovered device has been updated.

Parameters
deviceThe device that was updated.
indexThe list index of the device.
- (void GCKDiscoveryManagerListener) 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
deviceThe device that was updated.
indexThe previous list index of the device.
newIndexThe current list index of the device.
- (void GCKDiscoveryManagerListener) didUpdateDeviceList
optional

Called when the list of discovered devices has been updated in some way.

- (void GCKDiscoveryManagerListener) willUpdateDeviceList
optional

Called when the list of discovered devices is about to be updated in some way.


The documentation for this protocol was generated from the following file: