GCKDeviceProvider(Protected) カテゴリ

GCKDeviceProvider(Protected) カテゴリ参照

概要

GCKDevice オブジェクトを作成し、検出通知をフレームワークに送信するためのコンビニエンス メソッド。

開始:
3.0

インスタンス メソッドの概要

(void) - notifyDidStartDiscovery
 検出が開始されたことを検出マネージャーに通知します。その他...
 
(void) - notifyDidPublishDevice:
 新しいデバイスが公開されたことをディスカバリー マネージャーに通知します。その他...
 
(void) - notifyDidUnpublishDevice:
 以前に公開したデバイスが利用できなくなったため非公開になったことをディスカバリー マネージャーに通知します。その他...
 
(void) - notifyDidUpdateDevice:
 以前に公開したデバイスの 1 つ以上の表示属性(わかりやすい名前やアイコンなど)が変更されたことをディスカバリー マネージャーに通知します。その他...
 
(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

以前に公開したデバイスの 1 つ以上の表示属性(わかりやすい名前やアイコンなど)が変更されたことをディスカバリー マネージャーに通知します。

クラス 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 を拡張します。