RangingResult.Builder.SetRetryAfterDurationMillis(Int32) 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 duration in milliseconds after which the ranging operation may be retried.
[Android.Runtime.Register("setRetryAfterDurationMillis", "(I)Landroid/net/wifi/rtt/RangingResult$Builder;", "", ApiSince=37)]
public Android.Net.Wifi.Rtt.RangingResult.Builder SetRetryAfterDurationMillis(int durationMs);
[<Android.Runtime.Register("setRetryAfterDurationMillis", "(I)Landroid/net/wifi/rtt/RangingResult$Builder;", "", ApiSince=37)>]
member this.SetRetryAfterDurationMillis : int -> Android.Net.Wifi.Rtt.RangingResult.Builder
Parameters
- durationMs
- Int32
The duration in milliseconds. Must be non-negative. Value is 0 or greater
Returns
The builder to facilitate chaining. This value cannot be null.
- Attributes
Remarks
Sets the duration in milliseconds after which the ranging operation may be retried. A value of 0 means an immediate retry, otherwise retry after that much time in millisec. The time offset is from the measurement time RangingResult.getRangingTimestampMillis().
Android reference for android.net.wifi.rtt.RangingResult.Builder.setRetryAfterDurationMillis.
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.