SearchSuggestionsViewOptions

public class SearchSuggestionsViewOptions

डायरेक्ट सबक्लास के बारे में जानकारी
SearchContentViewOptions

इस क्लास में, खोज के नतीजों में दिखने वाले कॉन्टेंट के व्यू को पसंद के मुताबिक बनाने के सभी विकल्प मौजूद होते हैं.


इस क्लास में, खोज के सुझावों वाले व्यू को पसंद के मुताबिक बनाने के सभी विकल्प मौजूद होते हैं.

खास जानकारी

नेस्ट किए गए टाइप

क्लिक इवेंट को सूचित करने वाला हैंडलर.

क्लिक इवेंट की प्रॉपर्टी.

खोज के सुझावों के सेक्शन का लेआउट.

यूआरएल को पसंद के मुताबिक तरीके से खोलने के लिए हैंडलर.

खोज के सुझावों की थीम.

सार्वजनिक फ़ील्ड

CustomTabsIntent.Builder

CustomTabsIntent का वह बिल्ड जो Android कस्टम टैब के दिखने के तरीके को पसंद के मुताबिक बनाता है.

SearchSuggestionsViewOptions.Layout

खोज के सुझावों वाले यूज़र इंटरफ़ेस (यूआई) व्यू का लेआउट.

SearchSuggestionsViewOptions.Theme

खोज से जुड़े सुझावों के यूज़र इंटरफ़ेस (यूआई) व्यू की थीम.

सार्वजनिक कंस्ट्रक्टर

सार्वजनिक तरीके

CustomTabsIntent.Builder

खोज के सुझावों वाले व्यू का CustomTabsIntent.Builder फ़ंक्शन पाता है.

SearchSuggestionsViewOptions.Layout

खोज के सुझावों वाले व्यू का लेआउट पाता है.

SearchSuggestionsViewOptions.Theme

खोज के सुझावों वाले व्यू की थीम दिखाता है.

SearchSuggestionsViewOptions

खोज के सुझावों वाले व्यू के ClickNotificationHandler को सेट करता है.

SearchSuggestionsViewOptions

खोज के सुझावों वाले व्यू के CustomTabsIntent.Builder को सेट करता है. इसका इस्तेमाल, कस्टम टैब के दिखने के तरीके को पसंद के मुताबिक बनाने के लिए किया जा सकता है.

SearchSuggestionsViewOptions

खोज के सुझावों वाले व्यू का लेआउट सेट करता है.

SearchSuggestionsViewOptions

खोज के सुझावों वाले व्यू के OpenUrlHandler को सेट करता है.

SearchSuggestionsViewOptions

खोज के सुझावों वाले व्यू की थीम सेट करता है.

सार्वजनिक फ़ील्ड

customTabsIntentBuilder

public CustomTabsIntent.Builder customTabsIntentBuilder

CustomTabsIntent का वह बिल्ड जो Android कस्टम टैब के दिखने के तरीके को पसंद के मुताबिक बनाता है.

लेआउट

public SearchSuggestionsViewOptions.Layout layout

खोज के सुझावों वाले यूज़र इंटरफ़ेस (यूआई) व्यू का लेआउट.

थीम

public SearchSuggestionsViewOptions.Theme theme

खोज के सुझावों वाले यूज़र इंटरफ़ेस (यूआई) व्यू की थीम.

सार्वजनिक कंस्ट्रक्टर

SearchSuggestionsViewOptions

public SearchSuggestionsViewOptions()

सार्वजनिक तरीके

getCustomTabsIntentBuilder

public CustomTabsIntent.Builder getCustomTabsIntentBuilder()

खोज के सुझावों वाले व्यू का CustomTabsIntent.Builder मिलता है.

रिटर्न
CustomTabsIntent.Builder

मौजूदा CustomTabsIntent.Builder.

getLayout

public SearchSuggestionsViewOptions.Layout getLayout()

खोज के सुझावों वाले व्यू का लेआउट पाता है.

रिटर्न
SearchSuggestionsViewOptions.Layout

मौजूदा लेआउट.

getTheme

public SearchSuggestionsViewOptions.Theme getTheme()

खोज के सुझावों वाले व्यू की थीम दिखाता है.

रिटर्न
SearchSuggestionsViewOptions.Theme

मौजूदा थीम.

setClickNotificationHandler

@CanIgnoreReturnValue
public SearchSuggestionsViewOptions setClickNotificationHandler(
    SearchSuggestionsViewOptions.ClickNotificationHandler clickNotificationHandler
)

खोज के सुझावों वाले व्यू के ClickNotificationHandler को सेट करता है.

पैरामीटर
SearchSuggestionsViewOptions.ClickNotificationHandler clickNotificationHandler

ClickNotificationHandler ऑब्जेक्ट को सेट करें.

रिटर्न
SearchSuggestionsViewOptions

मौजूदा SearchSuggestionsViewOptions ऑब्जेक्ट.

setCustomTabsIntentBuilder

@CanIgnoreReturnValue
public SearchSuggestionsViewOptions setCustomTabsIntentBuilder(
    CustomTabsIntent.Builder customTabsIntentBuilder
)

खोज के सुझावों वाले व्यू के CustomTabsIntent.Builder को सेट करता है. इसका इस्तेमाल, कस्टम टैब के दिखने के तरीके को पसंद के मुताबिक बनाने के लिए किया जा सकता है.

पैरामीटर
CustomTabsIntent.Builder customTabsIntentBuilder

सेट करने के लिए CustomTabsIntent.Builder ऑब्जेक्ट.

रिटर्न
SearchSuggestionsViewOptions

मौजूदा SearchSuggestionsViewOptions ऑब्जेक्ट.

setLayout

@CanIgnoreReturnValue
public SearchSuggestionsViewOptions setLayout(SearchSuggestionsViewOptions.Layout layout)

खोज के सुझावों वाले व्यू का लेआउट सेट करता है.

पैरामीटर
SearchSuggestionsViewOptions.Layout layout

सेट किया जाने वाला लेआउट ऑब्जेक्ट.

रिटर्न
SearchSuggestionsViewOptions

मौजूदा SearchSuggestionsViewOptions ऑब्जेक्ट.

setOpenUrlHandler

@CanIgnoreReturnValue
public SearchSuggestionsViewOptions setOpenUrlHandler(
    SearchSuggestionsViewOptions.OpenUrlHandler openUrlHandler
)

खोज के सुझावों वाले व्यू का OpenUrlHandler सेट करता है.

पैरामीटर
SearchSuggestionsViewOptions.OpenUrlHandler openUrlHandler

सेट करने के लिए OpenUrlHandler ऑब्जेक्ट सबमिट करें.

रिटर्न
SearchSuggestionsViewOptions

मौजूदा SearchSuggestionsViewOptions ऑब्जेक्ट.

setTheme

@CanIgnoreReturnValue
public SearchSuggestionsViewOptions setTheme(SearchSuggestionsViewOptions.Theme theme)

खोज के सुझावों वाले व्यू की थीम सेट करता है.

पैरामीटर
SearchSuggestionsViewOptions.Theme theme

सेट किया जाने वाला थीम ऑब्जेक्ट.

रिटर्न
SearchSuggestionsViewOptions

मौजूदा SearchSuggestionsViewOptions ऑब्जेक्ट.