بروتوكول المستمع 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. |