AppSearchSchema.BooleanPropertyConfig


public final class AppSearchSchema.BooleanPropertyConfig extends AppSearchSchema.PropertyConfig


Configuration for a property containing a boolean.

Summary

Nested types

Builder for BooleanPropertyConfig.

Inherited Constants

From androidx.appsearch.app.AppSearchSchema.PropertyConfig
static final int

Zero or one value [0,1].

static final int

Any number of items (including zero) [0...*].

static final int

Exactly one value [1].

Inherited methods

From androidx.appsearch.app.AppSearchSchema.PropertyConfig
boolean
int

Returns the cardinality of the property (whether it is optional, required or repeated).

@NonNull String

Returns a natural language description of this property.

@NonNull String

Returns the name of this property.

int
@NonNull String