RangingRequest.Builder.SetRttBurstSize(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.
Set the RTT Burst size for the ranging request.
[Android.Runtime.Register("setRttBurstSize", "(I)Landroid/net/wifi/rtt/RangingRequest$Builder;", "", ApiSince=31)]
public Android.Net.Wifi.Rtt.RangingRequest.Builder SetRttBurstSize(int rttBurstSize);
[<Android.Runtime.Register("setRttBurstSize", "(I)Landroid/net/wifi/rtt/RangingRequest$Builder;", "", ApiSince=31)>]
member this.SetRttBurstSize : int -> Android.Net.Wifi.Rtt.RangingRequest.Builder
Parameters
- rttBurstSize
- Int32
The number of FTM packets, or NTB repetitions, used to estimate a range.
Returns
The builder to facilitate chaining builder.setXXX(..).setXXX(..). This value cannot be null.
- Attributes
Remarks
Set the RTT Burst size for the ranging request.
If not set, the default RTT burst size given by RangingRequest.getDefaultRttBurstSize() is used to determine the default value. If set, the value must be in the range RangingRequest.getMinRttBurstSize() and RangingRequest.getMaxRttBurstSize() inclusively, or a IllegalArgumentException will be thrown. Note: RTT burst size is primarily applicable to IEEE 802.11mc, but it can also be used with IEEE 802.11az to generate multiple NTB ranging requests per measurement. This is used when multiple very rapid range measurements are needed to improve accuracy during motion, without the overhead of a new application level ranging request.
Android reference for android.net.wifi.rtt.RangingRequest.Builder.setRttBurstSize.
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.