প্রবণতা অনুসন্ধান
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
ট্রেন্ডিং পান
প্রবণতামূলক অনুসন্ধানগুলি পেতে, ContextualSearchRuntime
রানটাইমে getTrendingSearches
পদ্ধতিতে কল করুন৷ এই পদ্ধতিতে একটি একক GetTrendingSearchesOptions লাগে যেখানে আপনি প্রত্যাবর্তনের সর্বাধিক সংখ্যক প্রবণতা নির্দিষ্ট করতে পারেন।
ফিরে আসা SearchSuggestions
অবজেক্টে কোনো অ্যাক্সেসযোগ্য বৈশিষ্ট্য নেই। এটি প্রবণতা অনুসন্ধানগুলি রেন্ডার করার জন্য প্রয়োজনীয় সমস্ত তথ্য ধারণ করে, কিন্তু অন্যথায় অস্বচ্ছ।
সুইফট সুইফট কনকারেন্সি স্টাইল ব্যবহার করে, অবজেক্টিভ-সি একটি কলব্যাক ফাংশন ব্যবহার করে।
সুইফট
GetTrendingSearchs(অপশন সহ:)
Task {
let suggestions = try await searchRuntime.getTrendingSearches(
withOptions: GetTrendingSearchesOptions())
}
উদ্দেশ্য-C
GetTrendingSearchesWithOptions
[searchRuntime
getTrendingSearchesWithOptions:
[[GetTrendingSearchesOptions alloc] init]
completionHandler:^(SearchSuggestions *_Nullable suggestions,
NSError *_Nullable error) {
// error will be not null if there is an error.
// On success, suggestions will be non null.
}];
প্রদর্শন
ট্রেন্ডিং সার্চ চিপ প্রদর্শন করতে, সার্চ সাজেশনের মতোই ব্যবহার করুন।
পরবর্তী: অনুসন্ধান ফলাফল প্রদর্শন করুন arrow_forward
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-07-25 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-25 UTC-তে শেষবার আপডেট করা হয়েছে।"],[],["To retrieve trending searches, use the `getTrendingSearches` method of `ContextualSearchRuntime`, providing `GetTrendingSearchesOptions` to set the maximum results. Swift employs async/await, while Objective-C utilizes a completion handler. The `SearchSuggestions` object returned is opaque, solely intended for rendering. Display trending search chips similarly to search suggestions using the method described in another page. Both languages provide the necessary tools to retrieve and handle trending search data.\n"]]