Протокол <GCKDiscoveryManagerListener>, протокол <GCKDiscoveryManagerListener>, протокол <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. |
,
Протокол слушателя 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. |
,
Протокол слушателя 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. |
Если не указано иное, контент на этой странице предоставляется по лицензии Creative Commons "С указанием авторства 4.0", а примеры кода – по лицензии Apache 2.0. Подробнее об этом написано в правилах сайта. Java – это зарегистрированный товарный знак корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2022-12-05 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":"Другое"
}]