AppSearchSchema.LongPropertyConfig


public static final class AppSearchSchema.LongPropertyConfig
extends AppSearchSchema.PropertyConfig

java.lang.Object
   ↳ android.app.appsearch.AppSearchSchema.PropertyConfig
     ↳ android.app.appsearch.AppSearchSchema.LongPropertyConfig


Configuration for a property containing a 64-bit integer.

Summary

Nested classes

class AppSearchSchema.LongPropertyConfig.Builder

Builder for LongPropertyConfig

Constants

int INDEXING_TYPE_NONE

Content in this property will not be indexed.

int INDEXING_TYPE_RANGE

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

Inherited constants

Public methods

int getIndexingType()

Returns how the property is indexed.

Inherited methods

Constants

INDEXING_TYPE_NONE

Added in API level 34
public static final int INDEXING_TYPE_NONE

Content in this property will not be indexed.

Constant Value: 0 (0x00000000)

INDEXING_TYPE_RANGE

Added in API level 34
public static final int INDEXING_TYPE_RANGE

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].

Constant Value: 1 (0x00000001)

Public methods

getIndexingType

Added in API level 34
public int getIndexingType ()

Returns how the property is indexed.

Returns
int Value is INDEXING_TYPE_NONE, or INDEXING_TYPE_RANGE