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. |
- (void) didRemoveDevice: |
|
(GCKDevice *) |
device |
atIndex: |
|
(NSUInteger) |
index |
|
|
| |
|
optional |
이전에 발견된 기기가 오프라인 상태로 전환되어 기기 목록에서 삭제되었을 때 호출됩니다.
이는 didRemoveDeviceAtIndex:의 대안입니다. 둘 다 구현되면 둘 다 호출됩니다.
- Parameters
-
device | The device that was removed. |
index | The list index of the device that was removed. |
- 다음 이후:
- 4.1
- (void) didHaveDiscoveredDeviceWhenStartingDiscovery |
|
|
|
|
optional |
검색 프로세스가 시작되기 전에 목록에 이전에 발견된 기기가 있을 때 호출됩니다.
이러한 기기는 마지막 검색 프로세스에 의해 검색된 이후 여전히 유효하며 만료되지 않았습니다. 이전에 검색된 기기의 전체 목록은 deviceCount: 및 deviceAtIndex:를 사용하여 얻을 수 있습니다.
- 다음 이후:
- 4.4.1