다음을 통해 공유


RangingResult.DistanceMm Property

Definition

public int DistanceMm { [Android.Runtime.Register("getDistanceMm", "()I", "", ApiSince=28)] get; }
[<get: Android.Runtime.Register("getDistanceMm", "()I", "", ApiSince=28)>]
member this.DistanceMm : int

Property Value

The distance (in mm) to the device specified by #getMacAddress() or #getPeerHandle(). <p> Note: the measured distance may be negative for very close devices. <p> Only valid if #getStatus() returns #STATUS_SUCCESS, otherwise will throw an exception.

Attributes

Remarks

Java documentation for android.net.wifi.rtt.RangingResult.getDistanceMm().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to