RangingConfig
public
abstract
class
RangingConfig
extends Object
implements
Parcelable
java.lang.Object | |
↳ | android.ranging.RangingConfig |
Abstract class to represent type of ranging configuration.
Subclasses include:
RawResponderRangingConfig
RawInitiatorRangingConfig
OobResponderRangingConfig
OobInitiatorRangingConfig
Summary
Constants | |
---|---|
int |
RANGING_SESSION_OOB
Ranging session with the out-of-band negotiations performed by the ranging API. |
int |
RANGING_SESSION_RAW
Ranging session with the out-of-band negotiations performed by the app. |
Inherited constants |
---|
Protected constructors | |
---|---|
RangingConfig()
|
Public methods | |
---|---|
int
|
getRangingSessionType()
Gets the ranging session type |
String
|
toString()
Returns a string representation of the object. |
Inherited methods | |
---|---|
Constants
RANGING_SESSION_OOB
public static final int RANGING_SESSION_OOB
Ranging session with the out-of-band negotiations performed by the ranging API.
Constant Value: 1 (0x00000001)
RANGING_SESSION_RAW
public static final int RANGING_SESSION_RAW
Ranging session with the out-of-band negotiations performed by the app.
Constant Value: 0 (0x00000000)
Protected constructors
Public methods
getRangingSessionType
public int getRangingSessionType ()
Gets the ranging session type ERROR(RangingSessionType/android.ranging.RangingConfig.RangingSessionType RangingSessionType)
Returns | |
---|---|
int |
the type of ranging session. |