<GCKDiscoveryManagerListener> 프로토콜

<GCKDiscoveryManagerListener> 프로토콜 참조

개요

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.