RangingConfig


abstract class RangingConfig : Parcelable
kotlin.Any
   ↳ android.ranging.RangingConfig

Abstract class to represent type of ranging configuration.

Subclasses include:

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

Inherited functions

Constants

RANGING_SESSION_OOB

static val RANGING_SESSION_OOB: Int

Ranging session with the out-of-band negotiations performed by the ranging API.

Value: 1

RANGING_SESSION_RAW

static val RANGING_SESSION_RAW: Int

Ranging session with the out-of-band negotiations performed by the app.

Value: 0

Protected constructors

RangingConfig

protected RangingConfig()

Public methods

getRangingSessionType

open fun getRangingSessionType(): Int

Gets the ranging session type android.ranging.RangingConfig.RangingSessionType

Return
Int the type of ranging session.

toString

open fun toString(): String
Return
String a string representation of the object.