AppSearchSchema.BooleanPropertyConfig.Builder.SetScoringEnabled Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the property enabled or disabled for scoring.
[Android.Runtime.Register("setScoringEnabled", "(Z)Landroid/app/appsearch/AppSearchSchema$BooleanPropertyConfig$Builder;", "", ApiSince=36)]
public Android.App.AppSearch.AppSearchSchema.BooleanPropertyConfig.Builder SetScoringEnabled(bool scoringEnabled);
[<Android.Runtime.Register("setScoringEnabled", "(Z)Landroid/app/appsearch/AppSearchSchema$BooleanPropertyConfig$Builder;", "", ApiSince=36)>]
member this.SetScoringEnabled : bool -> Android.App.AppSearch.AppSearchSchema.BooleanPropertyConfig.Builder
Parameters
- scoringEnabled
- Boolean
Returns
- Attributes
Remarks
Sets the property enabled or disabled for scoring. If this method is not called, the default value is false. If enabled, it can be used in the advanced ranking expression via the function of 'getScorableProperty'. For the detailed documentation, see SearchSpec.Builder.setRankingStrategy(String).
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.