<GCKDiscoveryManager Listener> প্রোটোকল
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
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
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-07-24 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"]],["2025-07-24 UTC-তে শেষবার আপডেট করা হয়েছে।"],[],["The GCKDiscoveryManagerListener protocol manages device discovery. Key actions include being notified when discovery starts for a device category and when the device list is updated. Notifications are triggered when devices are inserted, updated, or removed from the list, with index information provided. The protocol also handles updates where devices are reordered in the list and when devices were already discovered before starting the discovery process. These updates provide device details and their positions within the list.\n"]]