Added in [API level 31](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels) Summary: [Ctors](https://developer.android.com/reference/android/location/GnssCapabilities.Builder#pubctors) \| [Methods](https://developer.android.com/reference/android/location/GnssCapabilities.Builder#pubmethods) \| [Inherited Methods](https://developer.android.com/reference/android/location/GnssCapabilities.Builder#inhmethods)

# GnssCapabilities.Builder

*** ** * ** ***

` public static final class GnssCapabilities.Builder `   
` extends https://developer.android.com/reference/java/lang/Object ` ` `

|---|---|
| [java.lang.Object](https://developer.android.com/reference/java/lang/Object) ||
| ↳ | android.location.GnssCapabilities.Builder |

<br />

*** ** * ** ***

Builder for GnssCapabilities.

## Summary

| ### Public constructors ||
|---|---|
| ` https://developer.android.com/reference/android/location/GnssCapabilities.Builder#Builder()() ` |
| ` https://developer.android.com/reference/android/location/GnssCapabilities.Builder#Builder(android.location.GnssCapabilities)(https://developer.android.com/reference/android/location/GnssCapabilities capabilities) ` |

| ### Public methods ||
|---|---|
| ` https://developer.android.com/reference/android/location/GnssCapabilities` | ` https://developer.android.com/reference/android/location/GnssCapabilities.Builder#build()() ` Builds a new GnssCapabilities. |
| ` https://developer.android.com/reference/android/location/GnssCapabilities.Builder` | ` https://developer.android.com/reference/android/location/GnssCapabilities.Builder#setGnssSignalTypes(java.util.List<android.location.GnssSignalType>)(https://developer.android.com/reference/java/util/List<https://developer.android.com/reference/android/location/GnssSignalType> gnssSignalTypes) ` Sets a list of `https://developer.android.com/reference/android/location/GnssSignalType`. |
| ` https://developer.android.com/reference/android/location/GnssCapabilities.Builder` | ` https://developer.android.com/reference/android/location/GnssCapabilities.Builder#setHasAccumulatedDeltaRange(int)(int capable) ` Sets accumulated delta range capability. |
| ` https://developer.android.com/reference/android/location/GnssCapabilities.Builder` | ` https://developer.android.com/reference/android/location/GnssCapabilities.Builder#setHasAntennaInfo(boolean)(boolean capable) ` Sets antenna info capability. |
| ` https://developer.android.com/reference/android/location/GnssCapabilities.Builder` | ` https://developer.android.com/reference/android/location/GnssCapabilities.Builder#setHasGeofencing(boolean)(boolean capable) ` Sets geofencing capability. |
| ` https://developer.android.com/reference/android/location/GnssCapabilities.Builder` | ` https://developer.android.com/reference/android/location/GnssCapabilities.Builder#setHasGnssEngineRestartAfterPowerModeChange(boolean)(boolean capable) ` Sets the capability bit that the GNSS engine will restart if the user requests a power mode change (e.g., changing from duty cycling mode to full tracking mode). |
| ` https://developer.android.com/reference/android/location/GnssCapabilities.Builder` | ` https://developer.android.com/reference/android/location/GnssCapabilities.Builder#setHasLowPowerMode(boolean)(boolean capable) ` Sets low power mode capability. |
| ` https://developer.android.com/reference/android/location/GnssCapabilities.Builder` | ` https://developer.android.com/reference/android/location/GnssCapabilities.Builder#setHasMeasurementCorrections(boolean)(boolean capable) ` Sets measurement corrections capability. |
| ` https://developer.android.com/reference/android/location/GnssCapabilities.Builder` | ` https://developer.android.com/reference/android/location/GnssCapabilities.Builder#setHasMeasurementCorrectionsExcessPathLength(boolean)(boolean capable) ` Sets measurement corrections excess path length capability. |
| ` https://developer.android.com/reference/android/location/GnssCapabilities.Builder` | ` https://developer.android.com/reference/android/location/GnssCapabilities.Builder#setHasMeasurementCorrectionsForDriving(boolean)(boolean capable) ` Sets measurement corrections for driving capability. |
| ` https://developer.android.com/reference/android/location/GnssCapabilities.Builder` | ` https://developer.android.com/reference/android/location/GnssCapabilities.Builder#setHasMeasurementCorrectionsLosSats(boolean)(boolean capable) ` Sets measurement corrections line-of-sight satellites capability. |
| ` https://developer.android.com/reference/android/location/GnssCapabilities.Builder` | ` https://developer.android.com/reference/android/location/GnssCapabilities.Builder#setHasMeasurementCorrectionsReflectingPlane(boolean)(boolean capable) ` Sets measurement corrections reflecting plane capability. |
| ` https://developer.android.com/reference/android/location/GnssCapabilities.Builder` | ` https://developer.android.com/reference/android/location/GnssCapabilities.Builder#setHasMeasurementCorrelationVectors(boolean)(boolean capable) ` Sets correlation vector capability. |
| ` https://developer.android.com/reference/android/location/GnssCapabilities.Builder` | ` https://developer.android.com/reference/android/location/GnssCapabilities.Builder#setHasMeasurements(boolean)(boolean capable) ` Sets measurements capability. |
| ` https://developer.android.com/reference/android/location/GnssCapabilities.Builder` | ` https://developer.android.com/reference/android/location/GnssCapabilities.Builder#setHasMsa(boolean)(boolean capable) ` Sets Mobile Station Assisted capability. |
| ` https://developer.android.com/reference/android/location/GnssCapabilities.Builder` | ` https://developer.android.com/reference/android/location/GnssCapabilities.Builder#setHasMsb(boolean)(boolean capable) ` Sets Mobile Station Based capability. |
| ` https://developer.android.com/reference/android/location/GnssCapabilities.Builder` | ` https://developer.android.com/reference/android/location/GnssCapabilities.Builder#setHasNavigationMessages(boolean)(boolean capable) ` Sets navigation messages capability. |
| ` https://developer.android.com/reference/android/location/GnssCapabilities.Builder` | ` https://developer.android.com/reference/android/location/GnssCapabilities.Builder#setHasOnDemandTime(boolean)(boolean capable) ` Sets on demand time capability. |
| ` https://developer.android.com/reference/android/location/GnssCapabilities.Builder` | ` https://developer.android.com/reference/android/location/GnssCapabilities.Builder#setHasPowerMultibandAcquisition(boolean)(boolean capable) ` Sets power multi-band acquisition capability. |
| ` https://developer.android.com/reference/android/location/GnssCapabilities.Builder` | ` https://developer.android.com/reference/android/location/GnssCapabilities.Builder#setHasPowerMultibandTracking(boolean)(boolean capable) ` Sets power multi-band tracking capability. |
| ` https://developer.android.com/reference/android/location/GnssCapabilities.Builder` | ` https://developer.android.com/reference/android/location/GnssCapabilities.Builder#setHasPowerOtherModes(boolean)(boolean capable) ` Sets OEM-defined power modes capability. |
| ` https://developer.android.com/reference/android/location/GnssCapabilities.Builder` | ` https://developer.android.com/reference/android/location/GnssCapabilities.Builder#setHasPowerSinglebandAcquisition(boolean)(boolean capable) ` Sets power single-band acquisition capability. |
| ` https://developer.android.com/reference/android/location/GnssCapabilities.Builder` | ` https://developer.android.com/reference/android/location/GnssCapabilities.Builder#setHasPowerSinglebandTracking(boolean)(boolean capable) ` Sets power single-band tracking capability. |
| ` https://developer.android.com/reference/android/location/GnssCapabilities.Builder` | ` https://developer.android.com/reference/android/location/GnssCapabilities.Builder#setHasPowerTotal(boolean)(boolean capable) ` Sets power totals capability. |
| ` https://developer.android.com/reference/android/location/GnssCapabilities.Builder` | ` https://developer.android.com/reference/android/location/GnssCapabilities.Builder#setHasSatelliteBlocklist(boolean)(boolean capable) ` Sets satellite blocklist capability. |
| ` https://developer.android.com/reference/android/location/GnssCapabilities.Builder` | ` https://developer.android.com/reference/android/location/GnssCapabilities.Builder#setHasSatellitePvt(boolean)(boolean capable) ` Sets satellite PVT capability. |
| ` https://developer.android.com/reference/android/location/GnssCapabilities.Builder` | ` https://developer.android.com/reference/android/location/GnssCapabilities.Builder#setHasScheduling(boolean)(boolean capable) ` Sets scheduling capability. |
| ` https://developer.android.com/reference/android/location/GnssCapabilities.Builder` | ` https://developer.android.com/reference/android/location/GnssCapabilities.Builder#setHasSingleShotFix(boolean)(boolean capable) ` Sets single shot locating capability. |

### Inherited methods

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

## Public constructors

### Builder

Added in [API level 31](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public Builder ()
```

<br />

<br />

### Builder

Added in [API level 31](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public Builder (GnssCapabilities capabilities)
```

<br />

<br />

| Parameters ||
|---|---|
| `capabilities` | `GnssCapabilities`: This value cannot be `null`. <br /> |

## Public methods

### build

Added in [API level 31](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public GnssCapabilities build ()
```

Builds a new GnssCapabilities.

<br />

| Returns ||
|---|---|
| `https://developer.android.com/reference/android/location/GnssCapabilities` | This value cannot be `null`. <br /> |

### setGnssSignalTypes

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

```
public GnssCapabilities.Builder setGnssSignalTypes (List<GnssSignalType> gnssSignalTypes)
```

Sets a list of `https://developer.android.com/reference/android/location/GnssSignalType`.

<br />

| Parameters ||
|---|---|
| `gnssSignalTypes` | `List`: This value cannot be `null`. <br /> |

| Returns ||
|---|---|
| `https://developer.android.com/reference/android/location/GnssCapabilities.Builder` | This value cannot be `null`. <br /> |

### setHasAccumulatedDeltaRange

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

```
public GnssCapabilities.Builder setHasAccumulatedDeltaRange (int capable)
```

Sets accumulated delta range capability.

<br />

| Parameters ||
|---|---|
| `capable` | `int`: Value is either `0` or a combination of the following: - `https://developer.android.com/reference/android/location/GnssCapabilities#CAPABILITY_UNKNOWN` - `https://developer.android.com/reference/android/location/GnssCapabilities#CAPABILITY_SUPPORTED` - `https://developer.android.com/reference/android/location/GnssCapabilities#CAPABILITY_UNSUPPORTED` |

| Returns ||
|---|---|
| `https://developer.android.com/reference/android/location/GnssCapabilities.Builder` | This value cannot be `null`. <br /> |

### setHasAntennaInfo

Added in [API level 31](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public GnssCapabilities.Builder setHasAntennaInfo (boolean capable)
```

Sets antenna info capability.

<br />

| Parameters ||
|---|---|
| `capable` | `boolean` <br /> |

| Returns ||
|---|---|
| `https://developer.android.com/reference/android/location/GnssCapabilities.Builder` | This value cannot be `null`. <br /> |

### setHasGeofencing

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

```
public GnssCapabilities.Builder setHasGeofencing (boolean capable)
```

Sets geofencing capability.

<br />

| Parameters ||
|---|---|
| `capable` | `boolean` <br /> |

| Returns ||
|---|---|
| `https://developer.android.com/reference/android/location/GnssCapabilities.Builder` | This value cannot be `null`. <br /> |

### setHasGnssEngineRestartAfterPowerModeChange

Added in [API level 37](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public GnssCapabilities.Builder setHasGnssEngineRestartAfterPowerModeChange (boolean capable)
```

Sets the capability bit that the GNSS engine will restart if the user requests a power mode change (e.g., changing from duty cycling mode to full tracking mode).

<br />

| Parameters ||
|---|---|
| `capable` | `boolean` <br /> |

| Returns ||
|---|---|
| `https://developer.android.com/reference/android/location/GnssCapabilities.Builder` | This value cannot be `null`. <br /> |

### setHasLowPowerMode

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

```
public GnssCapabilities.Builder setHasLowPowerMode (boolean capable)
```

Sets low power mode capability.

The low power mode is defined in GNSS HAL. When the low power mode is active, the GNSS hardware must make strong tradeoffs to substantially restrict power use.

<br />

| Parameters ||
|---|---|
| `capable` | `boolean` <br /> |

| Returns ||
|---|---|
| `https://developer.android.com/reference/android/location/GnssCapabilities.Builder` | This value cannot be `null`. <br /> |

### setHasMeasurementCorrections

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

```
public GnssCapabilities.Builder setHasMeasurementCorrections (boolean capable)
```

Sets measurement corrections capability.

<br />

| Parameters ||
|---|---|
| `capable` | `boolean` <br /> |

| Returns ||
|---|---|
| `https://developer.android.com/reference/android/location/GnssCapabilities.Builder` | This value cannot be `null`. <br /> |

### setHasMeasurementCorrectionsExcessPathLength

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

```
public GnssCapabilities.Builder setHasMeasurementCorrectionsExcessPathLength (boolean capable)
```

Sets measurement corrections excess path length capability.

<br />

| Parameters ||
|---|---|
| `capable` | `boolean` <br /> |

| Returns ||
|---|---|
| `https://developer.android.com/reference/android/location/GnssCapabilities.Builder` | This value cannot be `null`. <br /> |

### setHasMeasurementCorrectionsForDriving

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

```
public GnssCapabilities.Builder setHasMeasurementCorrectionsForDriving (boolean capable)
```

Sets measurement corrections for driving capability.

<br />

| Parameters ||
|---|---|
| `capable` | `boolean` <br /> |

| Returns ||
|---|---|
| `https://developer.android.com/reference/android/location/GnssCapabilities.Builder` | This value cannot be `null`. <br /> |

### setHasMeasurementCorrectionsLosSats

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

```
public GnssCapabilities.Builder setHasMeasurementCorrectionsLosSats (boolean capable)
```

Sets measurement corrections line-of-sight satellites capability.

<br />

| Parameters ||
|---|---|
| `capable` | `boolean` <br /> |

| Returns ||
|---|---|
| `https://developer.android.com/reference/android/location/GnssCapabilities.Builder` | This value cannot be `null`. <br /> |

### setHasMeasurementCorrectionsReflectingPlane

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

```
public GnssCapabilities.Builder setHasMeasurementCorrectionsReflectingPlane (boolean capable)
```

Sets measurement corrections reflecting plane capability.

<br />

| Parameters ||
|---|---|
| `capable` | `boolean` <br /> |

| Returns ||
|---|---|
| `https://developer.android.com/reference/android/location/GnssCapabilities.Builder` | This value cannot be `null`. <br /> |

### setHasMeasurementCorrelationVectors

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

```
public GnssCapabilities.Builder setHasMeasurementCorrelationVectors (boolean capable)
```

Sets correlation vector capability.

<br />

| Parameters ||
|---|---|
| `capable` | `boolean` <br /> |

| Returns ||
|---|---|
| `https://developer.android.com/reference/android/location/GnssCapabilities.Builder` | This value cannot be `null`. <br /> |

### setHasMeasurements

Added in [API level 31](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public GnssCapabilities.Builder setHasMeasurements (boolean capable)
```

Sets measurements capability.

<br />

| Parameters ||
|---|---|
| `capable` | `boolean` <br /> |

| Returns ||
|---|---|
| `https://developer.android.com/reference/android/location/GnssCapabilities.Builder` | This value cannot be `null`. <br /> |

### setHasMsa

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

```
public GnssCapabilities.Builder setHasMsa (boolean capable)
```

Sets Mobile Station Assisted capability.

<br />

| Parameters ||
|---|---|
| `capable` | `boolean` <br /> |

| Returns ||
|---|---|
| `https://developer.android.com/reference/android/location/GnssCapabilities.Builder` | This value cannot be `null`. <br /> |

### setHasMsb

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

```
public GnssCapabilities.Builder setHasMsb (boolean capable)
```

Sets Mobile Station Based capability.

<br />

| Parameters ||
|---|---|
| `capable` | `boolean` <br /> |

| Returns ||
|---|---|
| `https://developer.android.com/reference/android/location/GnssCapabilities.Builder` | This value cannot be `null`. <br /> |

### setHasNavigationMessages

Added in [API level 31](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public GnssCapabilities.Builder setHasNavigationMessages (boolean capable)
```

Sets navigation messages capability.

<br />

| Parameters ||
|---|---|
| `capable` | `boolean` <br /> |

| Returns ||
|---|---|
| `https://developer.android.com/reference/android/location/GnssCapabilities.Builder` | This value cannot be `null`. <br /> |

### setHasOnDemandTime

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

```
public GnssCapabilities.Builder setHasOnDemandTime (boolean capable)
```

Sets on demand time capability.

<br />

| Parameters ||
|---|---|
| `capable` | `boolean` <br /> |

| Returns ||
|---|---|
| `https://developer.android.com/reference/android/location/GnssCapabilities.Builder` | This value cannot be `null`. <br /> |

### setHasPowerMultibandAcquisition

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

```
public GnssCapabilities.Builder setHasPowerMultibandAcquisition (boolean capable)
```

Sets power multi-band acquisition capability.

<br />

| Parameters ||
|---|---|
| `capable` | `boolean` <br /> |

| Returns ||
|---|---|
| `https://developer.android.com/reference/android/location/GnssCapabilities.Builder` | This value cannot be `null`. <br /> |

### setHasPowerMultibandTracking

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

```
public GnssCapabilities.Builder setHasPowerMultibandTracking (boolean capable)
```

Sets power multi-band tracking capability.

<br />

| Parameters ||
|---|---|
| `capable` | `boolean` <br /> |

| Returns ||
|---|---|
| `https://developer.android.com/reference/android/location/GnssCapabilities.Builder` | This value cannot be `null`. <br /> |

### setHasPowerOtherModes

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

```
public GnssCapabilities.Builder setHasPowerOtherModes (boolean capable)
```

Sets OEM-defined power modes capability.

<br />

| Parameters ||
|---|---|
| `capable` | `boolean` <br /> |

| Returns ||
|---|---|
| `https://developer.android.com/reference/android/location/GnssCapabilities.Builder` | This value cannot be `null`. <br /> |

### setHasPowerSinglebandAcquisition

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

```
public GnssCapabilities.Builder setHasPowerSinglebandAcquisition (boolean capable)
```

Sets power single-band acquisition capability.

<br />

| Parameters ||
|---|---|
| `capable` | `boolean` <br /> |

| Returns ||
|---|---|
| `https://developer.android.com/reference/android/location/GnssCapabilities.Builder` | This value cannot be `null`. <br /> |

### setHasPowerSinglebandTracking

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

```
public GnssCapabilities.Builder setHasPowerSinglebandTracking (boolean capable)
```

Sets power single-band tracking capability.

<br />

| Parameters ||
|---|---|
| `capable` | `boolean` <br /> |

| Returns ||
|---|---|
| `https://developer.android.com/reference/android/location/GnssCapabilities.Builder` | This value cannot be `null`. <br /> |

### setHasPowerTotal

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

```
public GnssCapabilities.Builder setHasPowerTotal (boolean capable)
```

Sets power totals capability.

<br />

| Parameters ||
|---|---|
| `capable` | `boolean` <br /> |

| Returns ||
|---|---|
| `https://developer.android.com/reference/android/location/GnssCapabilities.Builder` | This value cannot be `null`. <br /> |

### setHasSatelliteBlocklist

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

```
public GnssCapabilities.Builder setHasSatelliteBlocklist (boolean capable)
```

Sets satellite blocklist capability.

<br />

| Parameters ||
|---|---|
| `capable` | `boolean` <br /> |

| Returns ||
|---|---|
| `https://developer.android.com/reference/android/location/GnssCapabilities.Builder` | This value cannot be `null`. <br /> |

### setHasSatellitePvt

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

```
public GnssCapabilities.Builder setHasSatellitePvt (boolean capable)
```

Sets satellite PVT capability.

<br />

| Parameters ||
|---|---|
| `capable` | `boolean` <br /> |

| Returns ||
|---|---|
| `https://developer.android.com/reference/android/location/GnssCapabilities.Builder` | This value cannot be `null`. <br /> |

### setHasScheduling

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

```
public GnssCapabilities.Builder setHasScheduling (boolean capable)
```

Sets scheduling capability.

<br />

| Parameters ||
|---|---|
| `capable` | `boolean` <br /> |

| Returns ||
|---|---|
| `https://developer.android.com/reference/android/location/GnssCapabilities.Builder` | This value cannot be `null`. <br /> |

### setHasSingleShotFix

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

```
public GnssCapabilities.Builder setHasSingleShotFix (boolean capable)
```

Sets single shot locating capability.

<br />

| Parameters ||
|---|---|
| `capable` | `boolean` <br /> |

| Returns ||
|---|---|
| `https://developer.android.com/reference/android/location/GnssCapabilities.Builder` | This value cannot be `null`. <br /> |