Added in API level 31

BooleanPropertyConfig


class BooleanPropertyConfig : AppSearchSchema.PropertyConfig
kotlin.Any
   ↳ android.app.appsearch.AppSearchSchema.PropertyConfig
   ↳ android.app.appsearch.AppSearchSchema.BooleanPropertyConfig

Configuration for a property containing a boolean.

Summary

Nested classes

Builder for BooleanPropertyConfig.

Inherited constants
Public methods
Boolean

Returns if the property is enabled for scoring.

Inherited functions

Public methods

isScoringEnabled

fun isScoringEnabled(): Boolean

Returns if the property is enabled for scoring.