GCKDeviceProvider(Protected) 카테고리

GCKDeviceProvider(Protected) 카테고리 참조

개요

GCKDevice 객체를 구성하고 프레임워크에 검색 알림을 전송하는 편의 메서드.

다음 이후:
3.0

인스턴스 메서드 요약

(void) - notifyDidStartDiscovery
 탐색 관리자에게 검색이 시작되었음을 알립니다. 더보기...
 
(void) - notifyDidPublishDevice:
 검색 관리자에게 새 기기가 게시되었음을 알립니다. 더보기...
 
(void) - notifyDidUnpublishDevice:
 이전에 게시된 기기를 더 이상 사용할 수 없어 게시가 취소되었음을 검색 관리자에게 알립니다. 더보기...
 
(void) - notifyDidUpdateDevice:
 검색 관리자에게 이전에 게시된 기기의 디스플레이 속성 (예: 친숙한 이름 또는 아이콘) 중 하나 이상이 변경되었음을 알립니다. 더보기...
 
(GCKDevice *) - createDeviceWithID:ipAddress:servicePort:
 
(GCKDevice *) - createDeviceWithID:networkAddress:servicePort:
 GCKDevice 인스턴스를 구성하는 팩토리 메서드입니다. 더보기...
 

메서드 세부정보

- (void) notifyDidStartDiscovery

탐색 관리자에게 검색이 시작되었음을 알립니다.

클래스 GCKDeviceProvider를 확장합니다.

- (void) notifyDidPublishDevice: (GCKDevice *)  device

검색 관리자에게 새 기기가 게시되었음을 알립니다.

클래스 GCKDeviceProvider를 확장합니다.

- (void) notifyDidUnpublishDevice: (GCKDevice *)  device

이전에 게시된 기기를 더 이상 사용할 수 없어 게시가 취소되었음을 검색 관리자에게 알립니다.

클래스 GCKDeviceProvider를 확장합니다.

- (void) notifyDidUpdateDevice: (GCKDevice *)  device

검색 관리자에게 이전에 게시된 기기의 디스플레이 속성 (예: 친숙한 이름 또는 아이콘) 중 하나 이상이 변경되었음을 알립니다.

클래스 GCKDeviceProvider를 확장합니다.

- (GCKDevice *) createDeviceWithID: (NSString *)  deviceID
ipAddress: (NSString *)  ipAddress
servicePort: (uint16_t)  servicePort 
Deprecated:
IPv4 및 IPv6를 지원하려면 createDeviceWithID:networkAddress:servicePort: 를 사용합니다.

GCKDevice 인스턴스를 구성하는 팩토리 메서드입니다. 매개변수는 GCKDevice의 변경 불가능한 속성에 해당합니다.

Parameters
deviceIDThe unique ID identifying this device. This value must be unique among all GCKDevice objects that are created by this provider.
ipAddressThe IP address of the device, in numeric form (for example, @"10.0.0.10"). May not be nil. Supports IPv4 only.
servicePortThe service port on which connections should be made to this device. May be 0 if a service port is not applicable.

클래스 GCKDeviceProvider를 확장합니다.

- (GCKDevice *) createDeviceWithID: (NSString *)  deviceID
networkAddress: (GCKNetworkAddress *)  networkAddress
servicePort: (uint16_t)  servicePort 

GCKDevice 인스턴스를 구성하는 팩토리 메서드입니다.

매개변수는 GCKDevice의 변경 불가능한 속성에 해당합니다.

Parameters
deviceIDThe unique ID identifying this device. This value must be unique among all GCKDevice objects that are created by this provider.
networkAddressThe IP address of the device, either IPv4 or IPv6
servicePortThe service port on which connections should be made to this device. May be 0 if a service port is not applicable.
다음 이후:
4.2

클래스 GCKDeviceProvider를 확장합니다.