Il protocollo listener di GCKDiscoveryManager.
- Since
- 3,0
Eredita <NSObjectNSObject>.
- (void) didStartDiscoveryForDeviceCategory: |
|
(NSString *) |
deviceCategory |
|
|
optional |
Richiamato quando inizia il rilevamento per la categoria di dispositivo specificata.
- (void) willUpdateDeviceList |
|
|
|
|
optional |
Richiamato quando l'elenco di dispositivi rilevati sta per essere aggiornato in qualche modo.
- (void) didUpdateDeviceList |
|
|
|
|
optional |
Richiamato quando l'elenco di dispositivi rilevati è stato aggiornato in qualche modo.
- (void) didInsertDevice: |
|
(GCKDevice *) |
device |
atIndex: |
|
(NSUInteger) |
index |
|
|
| |
|
optional |
Richiamato quando un dispositivo appena scoperto viene inserito nell'elenco dei dispositivi.
- 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 |
Richiamato quando un dispositivo scoperto in precedenza è stato aggiornato.
- 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 |
Richiamato quando un dispositivo rilevato in precedenza è stato aggiornato e/o riordinato all'interno dell'elenco.
- 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 |
Chiamata quando un dispositivo rilevato in precedenza è andato offline ed è stato rimosso dall'elenco dei dispositivi.
- Parameters
-
index | The list index of the device that was removed. |