פרוטוקול listener של GCKDiscoveryManager.
- סינסה
- 3.0
עוברת בירושה <NSObjectNSObject>.
- (void) didStartDiscoveryForDeviceCategory: |
|
(NSString *) |
deviceCategory |
|
|
optional |
מתבצעת התקשרות כשהגילוי עבור קטגוריית המכשיר התחילה.
- (void) willUpdateDeviceList |
|
|
|
|
optional |
העדכון מתבצע כאשר רשימת המכשירים שהתגלה עומדת להתעדכן באופן מסוים.
- (void) didUpdateDeviceList |
|
|
|
|
optional |
התקשרות בעקבות עדכון כלשהו של רשימת המכשירים שאותרו.
- (void) didInsertDevice: |
|
(GCKDevice *) |
device |
atIndex: |
|
(NSUInteger) |
index |
|
|
| |
|
optional |
מתבצעת קריאה כאשר מכשיר חדש שהתגלה הוכנס לרשימת המכשירים.
- 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 |
התקשרות כאשר מכשיר שהתגלה בעבר עודכן.
- 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 |
התקשרות כאשר מכשיר שהתגלה בעבר עודכן ו/או הוזמן מחדש ברשימה.
- 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 |
התקשרות אם מכשיר שהתגלה בעבר לא מחובר לאינטרנט והוסר מרשימת המכשירים.
- Parameters
-
index | The list index of the device that was removed. |