RangingResult.Builder.SetAvailabilityWindowDurationMillis(Int64) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
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.