<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. |
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2022-12-06 (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":"अन्य"
}]