Share via


TransportDiscoveryData Constructors

Definition

Overloads

TransportDiscoveryData(Byte[])

Creates a TransportDiscoveryData instance from byte arrays.

TransportDiscoveryData(Int32, IList<TransportBlock>)

Creates a TransportDiscoveryData instance.

TransportDiscoveryData(Byte[])

Creates a TransportDiscoveryData instance from byte arrays.

[Android.Runtime.Register(".ctor", "([B)V", "", ApiSince=33)]
public TransportDiscoveryData (byte[] transportDiscoveryData);
[<Android.Runtime.Register(".ctor", "([B)V", "", ApiSince=33)>]
new Android.Bluetooth.LE.TransportDiscoveryData : byte[] -> Android.Bluetooth.LE.TransportDiscoveryData

Parameters

transportDiscoveryData
Byte[]

the raw discovery data

Attributes

Remarks

Creates a TransportDiscoveryData instance from byte arrays.

Uses the transport discovery data bytes and parses them into an usable class.

Java documentation for android.bluetooth.le.TransportDiscoveryData.TransportDiscoveryData(byte[]).

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

TransportDiscoveryData(Int32, IList<TransportBlock>)

Creates a TransportDiscoveryData instance.

[Android.Runtime.Register(".ctor", "(ILjava/util/List;)V", "", ApiSince=33)]
public TransportDiscoveryData (int transportDataType, System.Collections.Generic.IList<Android.Bluetooth.LE.TransportBlock> transportBlocks);
[<Android.Runtime.Register(".ctor", "(ILjava/util/List;)V", "", ApiSince=33)>]
new Android.Bluetooth.LE.TransportDiscoveryData : int * System.Collections.Generic.IList<Android.Bluetooth.LE.TransportBlock> -> Android.Bluetooth.LE.TransportDiscoveryData

Parameters

transportDataType
Int32

the Transport Discovery Data AD Type

transportBlocks
IList<TransportBlock>

the list of Transport Blocks

Attributes

Remarks

Creates a TransportDiscoveryData instance.

Java documentation for android.bluetooth.le.TransportDiscoveryData.TransportDiscoveryData(int, java.util.List<android.bluetooth.le.TransportBlock>).

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