โปรโตคอล <GCKDiscoveryManagerListener>

การอ้างอิงโปรโตคอล <GCKDiscoveryManagerListener>

ภาพรวม

โปรโตคอล Listener ของ GCKDiscoveryManager

Since
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.