UwbRangingParams.Builder.SetSlotDuration(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 slot duration in milliseconds for the ranging session.
[Android.Runtime.Register("setSlotDuration", "(I)Landroid/ranging/uwb/UwbRangingParams$Builder;", "", ApiSince=36)]
public Android.Ranging.Uwb.UwbRangingParams.Builder SetSlotDuration(int durationMs);
[<Android.Runtime.Register("setSlotDuration", "(I)Landroid/ranging/uwb/UwbRangingParams$Builder;", "", ApiSince=36)>]
member this.SetSlotDuration : int -> Android.Ranging.Uwb.UwbRangingParams.Builder
Parameters
- durationMs
- Int32
The slot duration in milliseconds: 1 for Duration1Ms or 2 for Duration2Ms.
Returns
this Builder instance. This value cannot be null.
- Attributes
Remarks
Sets the slot duration in milliseconds for the ranging session.
Defaults to UwbRangingParams.DURATION_2_MS.
Android reference for android.ranging.uwb.UwbRangingParams.Builder.setSlotDuration.
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.