Language

RangingResult.Builder.SetMeasurementBandwidth(Int32) Method

Definition

Sets the bandwidth used to transmit the RTT measurement frame.

[Android.Runtime.Register("setMeasurementBandwidth", "(I)Landroid/net/wifi/rtt/RangingResult$Builder;", "", ApiSince=35)]
public Android.Net.Wifi.Rtt.RangingResult.Builder SetMeasurementBandwidth(int measurementBandwidth);
[<Android.Runtime.Register("setMeasurementBandwidth", "(I)Landroid/net/wifi/rtt/RangingResult$Builder;", "", ApiSince=35)>]
member this.SetMeasurementBandwidth : int -> Android.Net.Wifi.Rtt.RangingResult.Builder

Parameters

measurementBandwidth
Int32

Measurement bandwidth. Value is one of the following: ScanResult.CHANNEL_WIDTH_20MHZ; ScanResult.CHANNEL_WIDTH_40MHZ; ScanResult.CHANNEL_WIDTH_80MHZ; ScanResult.CHANNEL_WIDTH_160MHZ; ScanResult.CHANNEL_WIDTH_80MHZ_PLUS_MHZ; ScanResult.CHANNEL_WIDTH_320MHZ

Returns

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

Attributes

Remarks

Sets the bandwidth used to transmit the RTT measurement frame. If not set, default to RangingResult.UNSPECIFIED.

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

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