Język

UwbRangingParams.Builder(Int32, Int32, UwbAddress, UwbAddress) Constructor

Definition

Constructs a new Builder for creating a ranging session.

[Android.Runtime.Register(".ctor", "(IILandroid/ranging/uwb/UwbAddress;Landroid/ranging/uwb/UwbAddress;)V", "", ApiSince=36)]
public Builder(int sessionId, int configId, Android.Ranging.Uwb.UwbAddress deviceAddress, Android.Ranging.Uwb.UwbAddress peerAddress);
[<Android.Runtime.Register(".ctor", "(IILandroid/ranging/uwb/UwbAddress;Landroid/ranging/uwb/UwbAddress;)V", "", ApiSince=36)>]
new Android.Ranging.Uwb.UwbRangingParams.Builder : int * int * Android.Ranging.Uwb.UwbAddress * Android.Ranging.Uwb.UwbAddress -> Android.Ranging.Uwb.UwbRangingParams.Builder

Parameters

sessionId
Int32

A unique identifier for the session.

configId
Int32

The configuration ID for the ranging parameters.

deviceAddress
UwbAddress

The UwbAddress representing the device's address. Must be non-null.

peerAddress
UwbAddress

The UwbAddress of the peer device. Must be non-null.

Attributes

Remarks

Constructs a new Builder for creating a ranging session.

Android reference for android.ranging.uwb.UwbRangingParams.Builder.Builder.

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