# RangingManager.RangingCapabilitiesCallback

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

# RangingManager.RangingCapabilitiesCallback

*** ** * ** ***

[Kotlin](https://developer.android.com/reference/kotlin/android/ranging/RangingManager.RangingCapabilitiesCallback "View this page in Kotlin")\|Java

`
public
static


interface
RangingManager.RangingCapabilitiesCallback
`  
`


`

|------------------------------------------------------------|
| android.ranging.RangingManager.RangingCapabilitiesCallback |

<br />

*** ** * ** ***

Callback interface to receive the availabilities and capabilities of all the ranging technology supported by the device.

This interface is used to asynchronously provide information about the supported ranging capabilities of the device. The callback is invoked first time when registered and if any capabilities are updated until it is unregistered.

<br />

## Summary

|                                                                                                                                                                                  ### Public methods                                                                                                                                                                                   ||
|------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| ` abstract void` | ` `[onRangingCapabilities](https://developer.android.com/reference/android/ranging/RangingManager.RangingCapabilitiesCallback#onRangingCapabilities(android.ranging.RangingCapabilities))`(`[RangingCapabilities](https://developer.android.com/reference/android/ranging/RangingCapabilities)` capabilities) ` Called when the ranging capabilities are available. |

## Public methods

### onRangingCapabilities

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

```
public abstract void onRangingCapabilities (RangingCapabilities capabilities)
```

Called when the ranging capabilities are available.

<br />

|                                                                                                                                          Parameters                                                                                                                                           ||
|----------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `capabilities` | `RangingCapabilities`: the[RangingCapabilities](https://developer.android.com/reference/android/ranging/RangingCapabilities)object containing detailed information about the supported features and limitations of the ranging technology. This value cannot be`null`. <br /> |