<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。
[{
"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":"その他"
}]