<GCKDiscoveryManagerListener> 协议

<GCKDiscoveryManagerListener> 协议参考

概览

GCKDiscoveryManager 监听器协议。

辛塞
3.0

继承 <NSObjectNSObject>。

实例方法摘要

(void) - didStartDiscoveryForDeviceCategory:
 在针对指定设备类别开始发现时调用。更多...
 
(void) - willUpdateDeviceList
 在发现的设备列表即将以某种方式更新时调用。更多...
 
(void) - didUpdateDeviceList
 当发现的设备列表以某种方式更新时调用。更多...
 
(void) - didInsertDevice:atIndex:
 在将新发现的设备插入设备列表后调用。更多...
 
(void) - didUpdateDevice:atIndex:
 在之前发现的设备更新时调用。更多...
 
(void) - didUpdateDevice:atIndex:andMoveToIndex:
 在列表中之前找到的设备已更新和/或重新排序时调用。更多...
 
(void) - didRemoveDeviceAtIndex:
 在之前发现的设备处于离线状态且已从设备列表中移除时调用。更多...
 

方法详细信息

- (void) didStartDiscoveryForDeviceCategory: (NSString *)  deviceCategory
optional

在针对指定设备类别开始发现时调用。

- (void) willUpdateDeviceList
optional

在发现的设备列表即将以某种方式更新时调用。

- (void) didUpdateDeviceList
optional

当发现的设备列表以某种方式更新时调用。

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

在将新发现的设备插入设备列表后调用。

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

在之前发现的设备更新时调用。

Parameters
deviceThe device that was updated.
indexThe list index of the device.
- (void) didUpdateDevice: (GCKDevice *)  device
atIndex: (NSUInteger)  index
andMoveToIndex: (NSUInteger)  newIndex 
optional

在列表中之前找到的设备已更新和/或重新排序时调用。

Parameters
deviceThe device that was updated.
indexThe previous list index of the device.
newIndexThe current list index of the device.
- (void) didRemoveDeviceAtIndex: (NSUInteger)  index
optional

在之前发现的设备处于离线状态且已从设备列表中移除时调用。

Parameters
indexThe list index of the device that was removed.