Language

UwbComplexChannel.Builder.SetPreambleIndex(Int32) Method

Definition

Sets the preamble index for the ranging device as defined in See FiRa UCISpec.}

[Android.Runtime.Register("setPreambleIndex", "(I)Landroid/ranging/uwb/UwbComplexChannel$Builder;", "", ApiSince=36)]
public Android.Ranging.Uwb.UwbComplexChannel.Builder SetPreambleIndex(int preambleIndex);
[<Android.Runtime.Register("setPreambleIndex", "(I)Landroid/ranging/uwb/UwbComplexChannel$Builder;", "", ApiSince=36)>]
member this.SetPreambleIndex : int -> Android.Ranging.Uwb.UwbComplexChannel.Builder

Parameters

preambleIndex
Int32

The preamble index to be set.

Returns

This Builder instance. This value cannot be null.

Attributes

Remarks

Sets the preamble index for the ranging device as defined in See FiRa UCISpec.}

PRF (Pulse Repetition Frequency) is selected based on the preamble index set here.

Defaults to a random BPRF preamble index.One among UwbComplexChannel.UWB_PREAMBLE_CODE_INDEX_9, UwbComplexChannel.UWB_PREAMBLE_CODE_INDEX_10, UwbComplexChannel.UWB_PREAMBLE_CODE_INDEX_11 or UwbComplexChannel.UWB_PREAMBLE_CODE_INDEX_12. For better performance always use a random preamble index for each ranging session.

Android reference for android.ranging.uwb.UwbComplexChannel.Builder.setPreambleIndex.

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