Language

RangingResult.Builder.SetAvailabilityWindowDurationMillis(Int64) Method

Definition

Sets the availability window duration in milliseconds for proximity detection.

[Android.Runtime.Register("setAvailabilityWindowDurationMillis", "(J)Landroid/net/wifi/rtt/RangingResult$Builder;", "", ApiSince=37)]
public Android.Net.Wifi.Rtt.RangingResult.Builder SetAvailabilityWindowDurationMillis(long availabilityWindowDurationMillis);
[<Android.Runtime.Register("setAvailabilityWindowDurationMillis", "(J)Landroid/net/wifi/rtt/RangingResult$Builder;", "", ApiSince=37)>]
member this.SetAvailabilityWindowDurationMillis : int64 -> Android.Net.Wifi.Rtt.RangingResult.Builder

Parameters

availabilityWindowDurationMillis
Int64

The duration of the availability window in ms. Must be a positive value. Value is 0 or greater

Returns

The builder to facilitate chaining. This value cannot be null.

Attributes

Remarks

Sets the availability window duration in milliseconds for proximity detection. See RangingResult.getAvailabilityWindowDurationMillis(). If not set, the default value is RangingResult.UNSPECIFIED.

Android reference for android.net.wifi.rtt.RangingResult.Builder.setAvailabilityWindowDurationMillis.

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