Added in [API level 31](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels) Summary: [Nested Classes](https://developer.android.com/reference/android/app/appsearch/AppSearchSchema.LongPropertyConfig#nestedclasses) \| [Constants](https://developer.android.com/reference/android/app/appsearch/AppSearchSchema.LongPropertyConfig#constants) \| [Inherited Constants](https://developer.android.com/reference/android/app/appsearch/AppSearchSchema.LongPropertyConfig#inhconstants) \| [Methods](https://developer.android.com/reference/android/app/appsearch/AppSearchSchema.LongPropertyConfig#pubmethods) \| [Inherited Methods](https://developer.android.com/reference/android/app/appsearch/AppSearchSchema.LongPropertyConfig#inhmethods)

# AppSearchSchema.LongPropertyConfig

*** ** * ** ***

` public static final class AppSearchSchema.LongPropertyConfig `   
` ` ` extends https://developer.android.com/reference/android/app/appsearch/AppSearchSchema.PropertyConfig ` ` `

|---|---|---|
| [java.lang.Object](https://developer.android.com/reference/java/lang/Object) |||
| ↳ | [android.app.appsearch.AppSearchSchema.PropertyConfig](https://developer.android.com/reference/android/app/appsearch/AppSearchSchema.PropertyConfig) ||
|   | ↳ | android.app.appsearch.AppSearchSchema.LongPropertyConfig |

<br />

*** ** * ** ***

Configuration for a property containing a 64-bit integer.

## Summary

| ### Nested classes ||
|---|---|
| ` class` | `https://developer.android.com/reference/android/app/appsearch/AppSearchSchema.LongPropertyConfig.Builder` Builder for `https://developer.android.com/reference/android/app/appsearch/AppSearchSchema.LongPropertyConfig`. |

| ### Constants ||
|---|---|
| `int` | `https://developer.android.com/reference/android/app/appsearch/AppSearchSchema.LongPropertyConfig#INDEXING_TYPE_NONE` Content in this property will not be indexed. |
| `int` | `https://developer.android.com/reference/android/app/appsearch/AppSearchSchema.LongPropertyConfig#INDEXING_TYPE_RANGE` Content in this property will be indexed and can be fetched via numeric search range query. |

### Inherited constants

From class `https://developer.android.com/reference/android/app/appsearch/AppSearchSchema.PropertyConfig` `int` `https://developer.android.com/reference/android/app/appsearch/AppSearchSchema.PropertyConfig#CARDINALITY_OPTIONAL`

Zero or one value \[0,1\].
`int` `https://developer.android.com/reference/android/app/appsearch/AppSearchSchema.PropertyConfig#CARDINALITY_REPEATED`

Any number of items (including zero) \[0...\*\].
`int` `https://developer.android.com/reference/android/app/appsearch/AppSearchSchema.PropertyConfig#CARDINALITY_REQUIRED`

Exactly one value \[1\].

| ### Public methods ||
|---|---|
| ` int` | ` https://developer.android.com/reference/android/app/appsearch/AppSearchSchema.LongPropertyConfig#getIndexingType()() ` Returns how the property is indexed. |
| ` boolean` | ` https://developer.android.com/reference/android/app/appsearch/AppSearchSchema.LongPropertyConfig#isScoringEnabled()() ` Returns if the property is enabled for scoring. |

### Inherited methods

From class ` https://developer.android.com/reference/android/app/appsearch/AppSearchSchema.PropertyConfig ` ` boolean` ` https://developer.android.com/reference/android/app/appsearch/AppSearchSchema.PropertyConfig#equals(java.lang.Object)(https://developer.android.com/reference/java/lang/Object other) `

Indicates whether some other object is "equal to" this one.
` int` ` https://developer.android.com/reference/android/app/appsearch/AppSearchSchema.PropertyConfig#getCardinality()() `

Returns the cardinality of the property (whether it is optional, required or repeated).
` https://developer.android.com/reference/java/lang/String` ` https://developer.android.com/reference/android/app/appsearch/AppSearchSchema.PropertyConfig#getDescription()() `

Returns a natural language description of this property.
` https://developer.android.com/reference/java/lang/String` ` https://developer.android.com/reference/android/app/appsearch/AppSearchSchema.PropertyConfig#getName()() `

Returns the name of this property.
` int` ` https://developer.android.com/reference/android/app/appsearch/AppSearchSchema.PropertyConfig#hashCode()() `

Returns a hash code value for the object.
` https://developer.android.com/reference/java/lang/String` ` https://developer.android.com/reference/android/app/appsearch/AppSearchSchema.PropertyConfig#toString()() `

Returns a string representation of the object.
From class ` https://developer.android.com/reference/java/lang/Object ` ` https://developer.android.com/reference/java/lang/Object` ` https://developer.android.com/reference/java/lang/Object#clone()() `

Creates and returns a copy of this object.
` boolean` ` https://developer.android.com/reference/java/lang/Object#equals(java.lang.Object)(https://developer.android.com/reference/java/lang/Object obj) `

Indicates whether some other object is "equal to" this one.
` void` ` https://developer.android.com/reference/java/lang/Object#finalize()() `

Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.
` final https://developer.android.com/reference/java/lang/Class<?>` ` https://developer.android.com/reference/java/lang/Object#getClass()() `

Returns the runtime class of this `Object`.
` int` ` https://developer.android.com/reference/java/lang/Object#hashCode()() `

Returns a hash code value for the object.
` final void` ` https://developer.android.com/reference/java/lang/Object#notify()() `

Wakes up a single thread that is waiting on this object's monitor.
` final void` ` https://developer.android.com/reference/java/lang/Object#notifyAll()() `

Wakes up all threads that are waiting on this object's monitor.
` https://developer.android.com/reference/java/lang/String` ` https://developer.android.com/reference/java/lang/Object#toString()() `

Returns a string representation of the object.
` final void` ` https://developer.android.com/reference/java/lang/Object#wait(long,%20int)(long timeoutMillis, int nanos) `

Causes the current thread to wait until it is awakened, typically by being *notified* or *interrupted*, or until a certain amount of real time has elapsed.
` final void` ` https://developer.android.com/reference/java/lang/Object#wait(long)(long timeoutMillis) `

Causes the current thread to wait until it is awakened, typically by being *notified* or *interrupted*, or until a certain amount of real time has elapsed.
` final void` ` https://developer.android.com/reference/java/lang/Object#wait()() `

Causes the current thread to wait until it is awakened, typically by being *notified* or *interrupted*.

## Constants

### INDEXING_TYPE_NONE

Added in [API level 34](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  
Also in [T Extensions 7](https://developer.android.com/sdkExtensions)

```
public static final int INDEXING_TYPE_NONE
```

Content in this property will not be indexed.

<br />

Constant Value: 0 (0x00000000)

### INDEXING_TYPE_RANGE

Added in [API level 34](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  
Also in [T Extensions 7](https://developer.android.com/sdkExtensions)

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

<br />

Constant Value: 1 (0x00000001)

## Public methods

### getIndexingType

Added in [API level 34](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  
Also in [T Extensions 7](https://developer.android.com/sdkExtensions)

```
public int getIndexingType ()
```

Returns how the property is indexed.

<br />

| Returns ||
|---|---|
| `int` | Value is one of the following: - `https://developer.android.com/reference/android/app/appsearch/AppSearchSchema.LongPropertyConfig#INDEXING_TYPE_NONE` - `https://developer.android.com/reference/android/app/appsearch/AppSearchSchema.LongPropertyConfig#INDEXING_TYPE_RANGE` |

### isScoringEnabled

Added in [API level 36](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  
Also in [T Extensions 17](https://developer.android.com/sdkExtensions)

```
public boolean isScoringEnabled ()
```

Returns if the property is enabled for scoring.

<br />

| Returns ||
|---|---|
| `boolean` | <br /> |