Language

SearchSuggestionSpec.Builder.AddFilterProperties メソッド

定義

指定した型のプロパティ パスを SearchSuggestionSpec Entry のプロパティ フィルターに追加します。

[Android.Runtime.Register("addFilterProperties", "(Ljava/lang/String;Ljava/util/Collection;)Landroid/app/appsearch/SearchSuggestionSpec$Builder;", "", ApiSince=35)]
public Android.App.AppSearch.SearchSuggestionSpec.Builder AddFilterProperties(string schema, System.Collections.Generic.ICollection<string> propertyPaths);
[<Android.Runtime.Register("addFilterProperties", "(Ljava/lang/String;Ljava/util/Collection;)Landroid/app/appsearch/SearchSuggestionSpec$Builder;", "", ApiSince=35)>]
member this.AddFilterProperties : string * System.Collections.Generic.ICollection<string> -> Android.App.AppSearch.SearchSuggestionSpec.Builder

パラメーター

schema
String

ターゲット プロパティを含む AppSearchSchema。 この値は null にすることはできません。

propertyPaths
ICollection<String>

PropertyPath の文字列バージョン。 これらのスニペットが対応するドキュメント内のプロパティを示す、ドット区切りのプロパティ名のシーケンス。 この値は null にすることはできません。

返品

属性

注釈

指定した型のプロパティ パスを SearchSuggestionSpec Entry のプロパティ フィルターに追加します。 指定したプロパティの下にコンテンツがある候補のみを検索します。 型のプロパティ パスが追加された場合、参照されるプロパティのみがその型の結果に対して取得されます。 指定されたプロパティ パスが結果に存在しない場合、その結果は無視されます。 プロパティ パスを null にすることはできません。 特定の型のプロパティ パスが追加されていない場合は、その型の結果のすべてのプロパティが取得されます。 プロパティの例: 'body'、'sender.name'、'sender.emailaddress'など。

android.app.appsearch.SearchSuggestionSpec.Builder.addFilterPropertiesの Android リファレンス。

このページの一部は、Androidオープンソースプロジェクトによって作成および共有された作業に基づく変更でありCreative Commons 2.5属性ライセンスに記載されている条件に従って使用されます。

適用対象