Added in API level 36
    RangingConfig
abstract class RangingConfig : Parcelable
| kotlin.Any | |
| ↳ | android.ranging.RangingConfig | 
Abstract class to represent type of ranging configuration.
Subclasses include:
- RawResponderRangingConfig
- RawInitiatorRangingConfig
- OobResponderRangingConfig
- OobInitiatorRangingConfig
Summary
| Constants | |
|---|---|
| static Int | Ranging session with the out-of-band negotiations performed by the ranging API. | 
| static Int | Ranging session with the out-of-band negotiations performed by the app. | 
| Inherited constants | |
|---|---|
| Protected constructors | |
|---|---|
| Public methods | |
|---|---|
| open Int | Gets the ranging session type android. | 
| open String | toString() | 
| Inherited functions | |
|---|---|
Constants
RANGING_SESSION_OOB
Added in API level 36
      static val RANGING_SESSION_OOB: Int
Ranging session with the out-of-band negotiations performed by the ranging API.
Value: 1RANGING_SESSION_RAW
Added in API level 36
      static val RANGING_SESSION_RAW: Int
Ranging session with the out-of-band negotiations performed by the app.
Value: 0Protected constructors
Public methods
getRangingSessionType
Added in API level 36
      open fun getRangingSessionType(): Int
Gets the ranging session type android.ranging.RangingConfig.RangingSessionType
| Return | |
|---|---|
| Int | the type of ranging session. | 
toString
Added in API level 36
      open fun toString(): String
| Return | |
|---|---|
| String | a string representation of the object. | 
