RangingConfig
abstract class RangingConfig : Parcelable
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 |
From class Parcelable
Int |
CONTENTS_FILE_DESCRIPTOR
Descriptor bit used with describeContents() : indicates that the Parcelable object's flattened representation includes a file descriptor.
|
Int |
PARCELABLE_WRITE_RETURN_VALUE
Flag for use with writeToParcel : the object being written is a return value, that is the result of a function such as "Parcelable someFunction() ", "void someFunction(out Parcelable) ", or "void someFunction(inout Parcelable) ". Some implementations may want to release resources at this point.
|
|
Public methods |
open Int |
Gets the ranging session type android.
|
open String |
|
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. |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[null,null,["Last updated 2025-02-10 UTC."],[],[]]