Giao thức trình nghe GCKDiscoveryManager.
- Since
- 3.0
Kế thừa <NSObjectNSObject>.
- (void) didStartDiscoveryForDeviceCategory: |
|
(NSString *) |
deviceCategory |
|
|
optional |
Được gọi khi khám phá bắt đầu cho danh mục thiết bị nhất định.
- (void) willUpdateDeviceList |
|
|
|
|
optional |
Được gọi khi danh sách thiết bị phát hiện được cập nhật theo cách nào đó.
- (void) didUpdateDeviceList |
|
|
|
|
optional |
Được gọi khi danh sách thiết bị phát hiện được cập nhật theo cách nào đó.
- (void) didInsertDevice: |
|
(GCKDevice *) |
device |
atIndex: |
|
(NSUInteger) |
index |
|
|
| |
|
optional |
Được gọi khi đã chèn một thiết bị mới phát hiện vào danh sách thiết bị.
- 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 |
Được gọi khi thiết bị phát hiện trước đó được cập nhật.
- 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 |
Được gọi khi một thiết bị phát hiện trước đó được cập nhật và/hoặc sắp xếp lại thứ tự trong danh sách.
- 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 |
Được gọi khi một thiết bị được phát hiện trước đó chuyển sang chế độ ngoại tuyến và đã bị xóa khỏi danh sách thiết bị.
- Parameters
-
index | The list index of the device that was removed. |