<GCKDiscoveryManagerListener> 프로토콜
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
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
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2023-12-01(UTC)
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"필요한 정보가 없음"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"너무 복잡함/단계 수가 너무 많음"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"오래됨"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"번역 문제"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"샘플/코드 문제"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"기타"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"이해하기 쉬움"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"문제가 해결됨"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"기타"
}]