SearchSuggestionsViewOptions

class SearchSuggestionsViewOptions

既知の直接サブクラス
SearchContentViewOptions

このクラスには、検索コンテンツ ビューのすべてのカスタマイズ オプションが用意されています。


このクラスには、検索候補ビューのすべてのカスタマイズ オプションが用意されています。

概要

ネストされた型

クリック イベントを通知するハンドラ。

クリック イベントのプロパティ。

検索候補ビューのレイアウト。

URL をカスタマイズされた方法で開くハンドラ。

検索候補ビューのテーマ。

パブリック コンストラクタ

パブリック関数

SearchSuggestionsViewOptions!

検索候補ビューの ClickNotificationHandler を設定します。

SearchSuggestionsViewOptions!

検索候補ビューの OpenUrlHandler を設定します。

公開プロパティ

CustomTabsIntent.Builder!

Android カスタムタブの外観をカスタマイズする CustomTabsIntent ビルド。

SearchSuggestionsViewOptions.Layout!

検索候補の UI ビューのレイアウト。

SearchSuggestionsViewOptions.Theme!

検索候補の UI ビューのテーマ。

パブリック コンストラクタ

SearchSuggestionsViewOptions

SearchSuggestionsViewOptions()

パブリック関数

setClickNotificationHandler

@CanIgnoreReturnValue
fun setClickNotificationHandler(
    clickNotificationHandler: SearchSuggestionsViewOptions.ClickNotificationHandler!
): SearchSuggestionsViewOptions!

検索候補ビューの ClickNotificationHandler を設定します。

パラメータ
clickNotificationHandler: SearchSuggestionsViewOptions.ClickNotificationHandler!

設定する ClickNotificationHandler オブジェクト。

戻り値
SearchSuggestionsViewOptions!

現在の SearchSuggestionsViewOptions オブジェクトを返します。

setOpenUrlHandler

@CanIgnoreReturnValue
fun setOpenUrlHandler(
    openUrlHandler: SearchSuggestionsViewOptions.OpenUrlHandler!
): SearchSuggestionsViewOptions!

検索候補ビューの OpenUrlHandler を設定します。

パラメータ
openUrlHandler: SearchSuggestionsViewOptions.OpenUrlHandler!

設定する OpenUrlHandler オブジェクト。

戻り値
SearchSuggestionsViewOptions!

現在の SearchSuggestionsViewOptions オブジェクト。

公開プロパティ

customTabsIntentBuilder

var customTabsIntentBuilderCustomTabsIntent.Builder!

Android カスタムタブの外観をカスタマイズする CustomTabsIntent ビルド。

レイアウト

var layoutSearchSuggestionsViewOptions.Layout!

検索候補の UI ビューのレイアウト。

テーマ

var themeSearchSuggestionsViewOptions.Theme!

検索候補の UI ビューのテーマ。