Added in API level 31

LongPropertyConfig

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

Configuration for a property containing a 64-bit integer.

Summary

Nested classes

Builder for LongPropertyConfig.

Constants
static Int

Content in this property will not be indexed.

static Int

Content in this property will be indexed and can be fetched via numeric search range query.

Inherited constants
Public methods
Int

Returns how the property is indexed.

Inherited functions

Constants

INDEXING_TYPE_NONE

Added in API level 34
static val INDEXING_TYPE_NONE: Int

Content in this property will not be indexed.

Value: 0

INDEXING_TYPE_RANGE

Added in API level 34
static val INDEXING_TYPE_RANGE: Int

Content in this property will be indexed and can be fetched via numeric search range query.

For example, a property with 1024 should match numeric search range query [0, 2000].

Value: 1

Public methods