Language

BleCsRangingParams.Builder(String) Constructor

Definition

Constructs a new Builder for creating a channel sounding ranging session.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "", ApiSince=36)]
public Builder(string peerBluetoothAddress);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "", ApiSince=36)>]
new Android.Ranging.Ble.CS.BleCsRangingParams.Builder : string -> Android.Ranging.Ble.CS.BleCsRangingParams.Builder

Parameters

peerBluetoothAddress
String

The address of the peer device must be a non-null Bluetooth address.

Attributes

Remarks

Constructs a new Builder for creating a channel sounding ranging session.

Valid Bluetooth hardware addresses must be upper case, in big endian byte order, and in a format such as "00:11:22:33:AA:BB". The helper BluetoothAdapter.checkBluetoothAddress(String) is available to validate a Bluetooth address.

Android reference for android.ranging.ble.cs.BleCsRangingParams.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