Language

AdvertiseData.Builder.AddTransportDiscoveryData Method

Definition

Add Transport Discovery Data to advertise data.

[Android.Runtime.Register("addTransportDiscoveryData", "(Landroid/bluetooth/le/TransportDiscoveryData;)Landroid/bluetooth/le/AdvertiseData$Builder;", "", ApiSince=33)]
public Android.Bluetooth.LE.AdvertiseData.Builder AddTransportDiscoveryData(Android.Bluetooth.LE.TransportDiscoveryData transportDiscoveryData);
[<Android.Runtime.Register("addTransportDiscoveryData", "(Landroid/bluetooth/le/TransportDiscoveryData;)Landroid/bluetooth/le/AdvertiseData$Builder;", "", ApiSince=33)>]
member this.AddTransportDiscoveryData : Android.Bluetooth.LE.TransportDiscoveryData -> Android.Bluetooth.LE.AdvertiseData.Builder

Parameters

transportDiscoveryData
TransportDiscoveryData

Transport Discovery Data, consisting of one or more Transport Blocks. Transport Discovery Data AD Type Code is already included. This value cannot be null.

Returns

Attributes

Remarks

Add Transport Discovery Data to advertise data.

Android reference for android.bluetooth.le.AdvertiseData.Builder.addTransportDiscoveryData.

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