# ResponderConfig.Builder

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

# Builder

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/android/net/wifi/rtt/ResponderConfig.Builder "View this page in Java")  

```
class Builder
```

|---|----------------------------------------------------------------------------------------------------------------------------------------------|
| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)                                                               ||
| ↳ | [android.net.wifi.rtt.ResponderConfig.Builder](https://developer.android.com/reference/kotlin/android/net/wifi/rtt/ResponderConfig.Builder#) |

Builder class used to construct[ResponderConfig](https://developer.android.com/reference/kotlin/android/net/wifi/rtt/ResponderConfig)objects.

## Summary

|                                                                     Public constructors                                                                      ||
|-----------------------------------------------------------------------------------------------------------------------------------------------------------|---|
| [Builder](https://developer.android.com/reference/kotlin/android/net/wifi/rtt/ResponderConfig.Builder#Builder())`()` Default constructor for the Builder. |

|                                                                                                                                                                                                                                                                                                                                   Public methods                                                                                                                                                                                                                                                                                                                                    ||
|-------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [ResponderConfig](https://developer.android.com/reference/kotlin/android/net/wifi/rtt/ResponderConfig)                  | [build](https://developer.android.com/reference/kotlin/android/net/wifi/rtt/ResponderConfig.Builder#build())`()` Build[ResponderConfig](https://developer.android.com/reference/kotlin/android/net/wifi/rtt/ResponderConfig)given the current configurations made on the builder.                                                                                                                                                                                                                                                                          |
| [ResponderConfig.Builder](https://developer.android.com/reference/kotlin/android/net/wifi/rtt/ResponderConfig.Builder#) | [set80211azNtbSupported](https://developer.android.com/reference/kotlin/android/net/wifi/rtt/ResponderConfig.Builder#set80211azNtbSupported(kotlin.Boolean))`(`supports80211azNtb:` `[Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)`)` Sets an indication the access point can to respond to the IEEE 802.                                                                                                                                                                                                             |
| [ResponderConfig.Builder](https://developer.android.com/reference/kotlin/android/net/wifi/rtt/ResponderConfig.Builder#) | [set80211mcSupported](https://developer.android.com/reference/kotlin/android/net/wifi/rtt/ResponderConfig.Builder#set80211mcSupported(kotlin.Boolean))`(`supports80211mc:` `[Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)`)` Sets an indication the access point can to respond to the two-sided Wi-Fi RTT protocol, but, if false, indicates only one-sided Wi-Fi RTT is possible.                                                                                                                                   |
| [ResponderConfig.Builder](https://developer.android.com/reference/kotlin/android/net/wifi/rtt/ResponderConfig.Builder#) | [setCenterFreq0Mhz](https://developer.android.com/reference/kotlin/android/net/wifi/rtt/ResponderConfig.Builder#setCenterFreq0Mhz(kotlin.Int))`(`centerFreq0:` `[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`)` Sets the center frequency in MHz of the first segment of the channel.                                                                                                                                                                                                                                        |
| [ResponderConfig.Builder](https://developer.android.com/reference/kotlin/android/net/wifi/rtt/ResponderConfig.Builder#) | [setCenterFreq1Mhz](https://developer.android.com/reference/kotlin/android/net/wifi/rtt/ResponderConfig.Builder#setCenterFreq1Mhz(kotlin.Int))`(`centerFreq1:` `[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`)` Sets the center frequency in MHz of the second segment of the channel, if used.                                                                                                                                                                                                                              |
| [ResponderConfig.Builder](https://developer.android.com/reference/kotlin/android/net/wifi/rtt/ResponderConfig.Builder#) | [setChannelWidth](https://developer.android.com/reference/kotlin/android/net/wifi/rtt/ResponderConfig.Builder#setChannelWidth(kotlin.Int))`(`channelWidth:` `[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`)` Sets the channel bandwidth in MHz.                                                                                                                                                                                                                                                                              |
| [ResponderConfig.Builder](https://developer.android.com/reference/kotlin/android/net/wifi/rtt/ResponderConfig.Builder#) | [setFrequencyMhz](https://developer.android.com/reference/kotlin/android/net/wifi/rtt/ResponderConfig.Builder#setFrequencyMhz(kotlin.Int))`(`frequency:` `[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`)` Sets the frequency of the channel in MHz.                                                                                                                                                                                                                                                                          |
| [ResponderConfig.Builder](https://developer.android.com/reference/kotlin/android/net/wifi/rtt/ResponderConfig.Builder#) | [setMacAddress](https://developer.android.com/reference/kotlin/android/net/wifi/rtt/ResponderConfig.Builder#setMacAddress(android.net.MacAddress))`(`macAddress:` `[MacAddress](https://developer.android.com/reference/kotlin/android/net/MacAddress.html#)?`)` Sets the Responder MAC Address.                                                                                                                                                                                                                                                           |
| [ResponderConfig.Builder](https://developer.android.com/reference/kotlin/android/net/wifi/rtt/ResponderConfig.Builder#) | [setPreamble](https://developer.android.com/reference/kotlin/android/net/wifi/rtt/ResponderConfig.Builder#setPreamble(kotlin.Int))`(`preamble:` `[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`)` Sets the preamble encoding for the protocol.                                                                                                                                                                                                                                                                                |
| [ResponderConfig.Builder](https://developer.android.com/reference/kotlin/android/net/wifi/rtt/ResponderConfig.Builder#) | [setResponderType](https://developer.android.com/reference/kotlin/android/net/wifi/rtt/ResponderConfig.Builder#setResponderType(kotlin.Int))`(`responderType:` `[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`)` Sets the responder type, can be[RESPONDER_AP](https://developer.android.com/reference/kotlin/android/net/wifi/rtt/ResponderConfig#RESPONDER_AP:kotlin.Int)or[RESPONDER_STA](https://developer.android.com/reference/kotlin/android/net/wifi/rtt/ResponderConfig#RESPONDER_STA:kotlin.Int)or #RESPONDER_AWARE |
| [ResponderConfig.Builder](https://developer.android.com/reference/kotlin/android/net/wifi/rtt/ResponderConfig.Builder#) | [setSecureRangingConfig](https://developer.android.com/reference/kotlin/android/net/wifi/rtt/ResponderConfig.Builder#setSecureRangingConfig(android.net.wifi.rtt.SecureRangingConfig))`(`secureRangingConfig:` `[SecureRangingConfig](https://developer.android.com/reference/kotlin/android/net/wifi/rtt/SecureRangingConfig)`)` Set secure ranging configuration.                                                                                                                                                                                        |

## Public constructors

### Builder

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

```
Builder()
```

Default constructor for the Builder.

## Public methods

### build

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

```
fun build(): ResponderConfig
```

Build[ResponderConfig](https://developer.android.com/reference/kotlin/android/net/wifi/rtt/ResponderConfig)given the current configurations made on the builder.

|                                                                                                                         Return                                                                                                                          ||
|--------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------|
| [ResponderConfig](https://developer.android.com/reference/kotlin/android/net/wifi/rtt/ResponderConfig) | an instance of[ResponderConfig](https://developer.android.com/reference/kotlin/android/net/wifi/rtt/ResponderConfig)This value cannot be`null`. |

### set80211azNtbSupported

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

```
fun set80211azNtbSupported(supports80211azNtb: Boolean): ResponderConfig.Builder
```

Sets an indication the access point can to respond to the IEEE 802.11az non-trigger based ranging protocol, but, if false, indicates only IEEE 802.11mc or one-sided Wi-Fi RTT is possible.

|                                                                                      Parameters                                                                                      ||
|----------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `supports80211azNtb` | [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html):the ability to support the IEEE 802.11az non-trigger based ranging protocol |

|                                                                                                         Return                                                                                                          ||
|-------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------|
| [ResponderConfig.Builder](https://developer.android.com/reference/kotlin/android/net/wifi/rtt/ResponderConfig.Builder#) | the builder to facilitate chaining`builder.setXXX(..).setXXX(..)`. This value cannot be`null`. |

### set80211mcSupported

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

```
fun set80211mcSupported(supports80211mc: Boolean): ResponderConfig.Builder
```

Sets an indication the access point can to respond to the two-sided Wi-Fi RTT protocol, but, if false, indicates only one-sided Wi-Fi RTT is possible.

|                                                                     Parameters                                                                      ||
|-------------------|----------------------------------------------------------------------------------------------------------------------------------|
| `supports80211mc` | [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html):the ability to support the Wi-Fi RTT protocol |

|                                                                                                         Return                                                                                                          ||
|-------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------|
| [ResponderConfig.Builder](https://developer.android.com/reference/kotlin/android/net/wifi/rtt/ResponderConfig.Builder#) | the builder to facilitate chaining`builder.setXXX(..).setXXX(..)`. This value cannot be`null`. |

### setCenterFreq0Mhz

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

```
fun setCenterFreq0Mhz(centerFreq0: Int): ResponderConfig.Builder
```

Sets the center frequency in MHz of the first segment of the channel.

Note: The frequency is used as a hint, and the underlying WiFi subsystem may use it, or select an alternate if its own connectivity scans have determined the frequency of the access point has changed.

|                                                                              Parameters                                                                              ||
|---------------|-------------------------------------------------------------------------------------------------------------------------------------------------------|
| `centerFreq0` | [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html):the center frequency in MHz of first channel segment Value is 0 or greater |

|                                                                                                         Return                                                                                                          ||
|-------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------|
| [ResponderConfig.Builder](https://developer.android.com/reference/kotlin/android/net/wifi/rtt/ResponderConfig.Builder#) | the builder to facilitate chaining`builder.setXXX(..).setXXX(..)`. This value cannot be`null`. |

### setCenterFreq1Mhz

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

```
fun setCenterFreq1Mhz(centerFreq1: Int): ResponderConfig.Builder
```

Sets the center frequency in MHz of the second segment of the channel, if used.

Note: The frequency is used as a hint, and the underlying WiFi subsystem may use it, or select an alternate if its own connectivity scans have determined the frequency of the access point has changed.

|                                                                              Parameters                                                                               ||
|---------------|--------------------------------------------------------------------------------------------------------------------------------------------------------|
| `centerFreq1` | [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html):the center frequency in MHz of second channel segment Value is 0 or greater |

|                                                                                                         Return                                                                                                          ||
|-------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------|
| [ResponderConfig.Builder](https://developer.android.com/reference/kotlin/android/net/wifi/rtt/ResponderConfig.Builder#) | the builder to facilitate chaining`builder.setXXX(..).setXXX(..)`. This value cannot be`null`. |

### setChannelWidth

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

```
fun setChannelWidth(channelWidth: Int): ResponderConfig.Builder
```

Sets the channel bandwidth in MHz.

|                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 Parameters                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  ||
|----------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `channelWidth` | [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html):the bandwidth of the channel in MHz Value is[android.net.wifi.ScanResult#CHANNEL_WIDTH_20MHZ](https://developer.android.com/reference/kotlin/android/net/wifi/ScanResult.html#CHANNEL_WIDTH_20MHZ:kotlin.Int),[android.net.wifi.ScanResult#CHANNEL_WIDTH_40MHZ](https://developer.android.com/reference/kotlin/android/net/wifi/ScanResult.html#CHANNEL_WIDTH_40MHZ:kotlin.Int),[android.net.wifi.ScanResult#CHANNEL_WIDTH_80MHZ](https://developer.android.com/reference/kotlin/android/net/wifi/ScanResult.html#CHANNEL_WIDTH_80MHZ:kotlin.Int),[android.net.wifi.ScanResult#CHANNEL_WIDTH_160MHZ](https://developer.android.com/reference/kotlin/android/net/wifi/ScanResult.html#CHANNEL_WIDTH_160MHZ:kotlin.Int),[android.net.wifi.ScanResult#CHANNEL_WIDTH_80MHZ_PLUS_MHZ](https://developer.android.com/reference/kotlin/android/net/wifi/ScanResult.html#CHANNEL_WIDTH_80MHZ_PLUS_MHZ:kotlin.Int), or[android.net.wifi.ScanResult#CHANNEL_WIDTH_320MHZ](https://developer.android.com/reference/kotlin/android/net/wifi/ScanResult.html#CHANNEL_WIDTH_320MHZ:kotlin.Int) |

|                                                                                                         Return                                                                                                          ||
|-------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------|
| [ResponderConfig.Builder](https://developer.android.com/reference/kotlin/android/net/wifi/rtt/ResponderConfig.Builder#) | the builder to facilitate chaining`builder.setXXX(..).setXXX(..)`. This value cannot be`null`. |

### setFrequencyMhz

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

```
fun setFrequencyMhz(frequency: Int): ResponderConfig.Builder
```

Sets the frequency of the channel in MHz.

Note: The frequency is used as a hint, and the underlying WiFi subsystem may use it, or select an alternate if its own connectivity scans have determined the frequency of the access point has changed.

|                                                                    Parameters                                                                     ||
|-------------|--------------------------------------------------------------------------------------------------------------------------------------|
| `frequency` | [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html):the frequency of the channel in MHz Value is 0 or greater |

|                                                                                                         Return                                                                                                          ||
|-------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------|
| [ResponderConfig.Builder](https://developer.android.com/reference/kotlin/android/net/wifi/rtt/ResponderConfig.Builder#) | the builder to facilitate chaining`builder.setXXX(..).setXXX(..)`. This value cannot be`null`. |

### setMacAddress

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

```
fun setMacAddress(macAddress: MacAddress?): ResponderConfig.Builder
```

Sets the Responder MAC Address.

A responder must be identified by*either* a[MacAddress](https://developer.android.com/reference/kotlin/android/net/MacAddress.html#)*or* a[PeerHandle](https://developer.android.com/reference/kotlin/android/net/wifi/aware/PeerHandle.html#)(for Aware peers, set via #setPeerHandle(android.net.wifi.aware.PeerHandle)), but not both.

Note: This method sets the MAC address. If a[PeerHandle](https://developer.android.com/reference/kotlin/android/net/wifi/aware/PeerHandle.html#)was previously set using #setPeerHandle(android.net.wifi.aware.PeerHandle), both identifiers might be temporarily present within the builder. The final validation ensuring that only one of these identifiers is exclusively set occurs during the[build()](https://developer.android.com/reference/kotlin/android/net/wifi/rtt/ResponderConfig.Builder#build())operation. If[build()](https://developer.android.com/reference/kotlin/android/net/wifi/rtt/ResponderConfig.Builder#build())is called when both a MAC address and a PeerHandle are configured or when neither is set, it will result in an[IllegalArgumentException](https://developer.android.com/reference/kotlin/java/lang/IllegalArgumentException.html#).

|                                                                               Parameters                                                                                ||
|--------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------|
| `macAddress` | [MacAddress](https://developer.android.com/reference/kotlin/android/net/MacAddress.html#)?:the physical address of the responder This value may be`null`. |

|                                                                                                         Return                                                                                                          ||
|-------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------|
| [ResponderConfig.Builder](https://developer.android.com/reference/kotlin/android/net/wifi/rtt/ResponderConfig.Builder#) | the builder to facilitate chaining`builder.setXXX(..).setXXX(..)`. This value cannot be`null`. |

### setPreamble

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

```
fun setPreamble(preamble: Int): ResponderConfig.Builder
```

Sets the preamble encoding for the protocol.

|                                                                                                                                                                                                                                                                                                                                                                                                                                          Parameters                                                                                                                                                                                                                                                                                                                                                                                                                                           ||
|------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `preamble` | [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html):the preamble encoding Value is[android.net.wifi.ScanResult#PREAMBLE_LEGACY](https://developer.android.com/reference/kotlin/android/net/wifi/ScanResult.html#PREAMBLE_LEGACY:kotlin.Int),[android.net.wifi.ScanResult#PREAMBLE_HT](https://developer.android.com/reference/kotlin/android/net/wifi/ScanResult.html#PREAMBLE_HT:kotlin.Int),[android.net.wifi.ScanResult#PREAMBLE_VHT](https://developer.android.com/reference/kotlin/android/net/wifi/ScanResult.html#PREAMBLE_VHT:kotlin.Int),[android.net.wifi.ScanResult#PREAMBLE_HE](https://developer.android.com/reference/kotlin/android/net/wifi/ScanResult.html#PREAMBLE_HE:kotlin.Int), or[android.net.wifi.ScanResult#PREAMBLE_EHT](https://developer.android.com/reference/kotlin/android/net/wifi/ScanResult.html#PREAMBLE_EHT:kotlin.Int) |

|                                                                                                         Return                                                                                                          ||
|-------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------|
| [ResponderConfig.Builder](https://developer.android.com/reference/kotlin/android/net/wifi/rtt/ResponderConfig.Builder#) | the builder to facilitate chaining`builder.setXXX(..).setXXX(..)`. This value cannot be`null`. |

### setResponderType

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

```
fun setResponderType(responderType: Int): ResponderConfig.Builder
```

Sets the responder type, can be[RESPONDER_AP](https://developer.android.com/reference/kotlin/android/net/wifi/rtt/ResponderConfig#RESPONDER_AP:kotlin.Int)or[RESPONDER_STA](https://developer.android.com/reference/kotlin/android/net/wifi/rtt/ResponderConfig#RESPONDER_STA:kotlin.Int)or #RESPONDER_AWARE

|                                                                                                                                                                                                                                                                                                                                                                                           Parameters                                                                                                                                                                                                                                                                                                                                                                                           ||
|-----------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `responderType` | [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html):the type of the responder, if not set defaults to[RESPONDER_AP](https://developer.android.com/reference/kotlin/android/net/wifi/rtt/ResponderConfig#RESPONDER_AP:kotlin.Int)Value is[android.net.wifi.rtt.ResponderConfig#RESPONDER_AP](https://developer.android.com/reference/kotlin/android/net/wifi/rtt/ResponderConfig#RESPONDER_AP:kotlin.Int),[android.net.wifi.rtt.ResponderConfig#RESPONDER_STA](https://developer.android.com/reference/kotlin/android/net/wifi/rtt/ResponderConfig#RESPONDER_STA:kotlin.Int), android.net.wifi.rtt.ResponderConfig.RESPONDER_P2P_GO, android.net.wifi.rtt.ResponderConfig.RESPONDER_P2P_CLIENT, or android.net.wifi.rtt.ResponderConfig.RESPONDER_AWARE |

|                                                                                                         Return                                                                                                          ||
|-------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------|
| [ResponderConfig.Builder](https://developer.android.com/reference/kotlin/android/net/wifi/rtt/ResponderConfig.Builder#) | the builder to facilitate chaining`builder.setXXX(..).setXXX(..)`. This value cannot be`null`. |

### setSecureRangingConfig

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

```
fun setSecureRangingConfig(secureRangingConfig: SecureRangingConfig): ResponderConfig.Builder
```

Set secure ranging configuration. See[SecureRangingConfig](https://developer.android.com/reference/kotlin/android/net/wifi/rtt/SecureRangingConfig)for more details.

Note: Secure ranging will get enabled only if the device and responder support. For device support see[WifiRttManager.getRttCharacteristics()](https://developer.android.com/reference/kotlin/android/net/wifi/rtt/WifiRttManager#getRttCharacteristics()). Following capabilities needs to be enabled,

- [WifiRttManager.CHARACTERISTICS_KEY_BOOLEAN_NTB_INITIATOR](https://developer.android.com/reference/kotlin/android/net/wifi/rtt/WifiRttManager#CHARACTERISTICS_KEY_BOOLEAN_NTB_INITIATOR:kotlin.String)
- [WifiRttManager.CHARACTERISTICS_KEY_BOOLEAN_SECURE_HE_LTF_SUPPORTED](https://developer.android.com/reference/kotlin/android/net/wifi/rtt/WifiRttManager#CHARACTERISTICS_KEY_BOOLEAN_SECURE_HE_LTF_SUPPORTED:kotlin.String)and/or
- [WifiRttManager.CHARACTERISTICS_KEY_BOOLEAN_RANGING_FRAME_PROTECTION_SUPPORTED](https://developer.android.com/reference/kotlin/android/net/wifi/rtt/WifiRttManager#CHARACTERISTICS_KEY_BOOLEAN_RANGING_FRAME_PROTECTION_SUPPORTED:kotlin.String)

For the responder support (from scan result),

<!-- -->

- [ScanResult.capabilities](https://developer.android.com/reference/kotlin/android/net/wifi/ScanResult.html#capabilities:kotlin.String)string contains PASN and optionally a base AKM
- [ScanResult.isSecureHeLtfSupported()](https://developer.android.com/reference/kotlin/android/net/wifi/ScanResult.html#isSecureHeLtfSupported())
- [ScanResult.isRangingFrameProtectionRequired()](https://developer.android.com/reference/kotlin/android/net/wifi/ScanResult.html#isRangingFrameProtectionRequired())

|                                                                                           Parameters                                                                                           ||
|-----------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `secureRangingConfig` | [SecureRangingConfig](https://developer.android.com/reference/kotlin/android/net/wifi/rtt/SecureRangingConfig):Secure ranging configuration This value cannot be`null`. |

|                                                                                                         Return                                                                                                          ||
|-------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------|
| [ResponderConfig.Builder](https://developer.android.com/reference/kotlin/android/net/wifi/rtt/ResponderConfig.Builder#) | the builder to facilitate chaining`builder.setXXX(..).setXXX(..)`. This value cannot be`null`. |