<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
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2023-12-01 UTC。
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["必要な情報がない","missingTheInformationINeed","thumb-down"],["複雑すぎる / 手順が多すぎる","tooComplicatedTooManySteps","thumb-down"],["最新ではない","outOfDate","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["サンプル / コードに問題がある","samplesCodeIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2023-12-01 UTC。"],[],[]]