Compartir a través de


BluetoothLEAdvertisementDataSection Clase

Definición

Una sección de anuncios de Bluetooth LE. Un paquete de anuncios bluetooth LE puede contener varias instancias de estos objetos BluetoothLEAdvertisementDataSection.

public ref class BluetoothLEAdvertisementDataSection sealed
/// [Windows.Foundation.Metadata.Activatable(Windows.Devices.Bluetooth.Advertisement.IBluetoothLEAdvertisementDataSectionFactory, 65536, Windows.Foundation.UniversalApiContract)]
/// [Windows.Foundation.Metadata.Activatable(65536, Windows.Foundation.UniversalApiContract)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class BluetoothLEAdvertisementDataSection final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
/// [Windows.Foundation.Metadata.Activatable(65536, "Windows.Foundation.UniversalApiContract")]
/// [Windows.Foundation.Metadata.Activatable(Windows.Devices.Bluetooth.Advertisement.IBluetoothLEAdvertisementDataSectionFactory, 65536, "Windows.Foundation.UniversalApiContract")]
class BluetoothLEAdvertisementDataSection final
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Devices.Bluetooth.Advertisement.IBluetoothLEAdvertisementDataSectionFactory), 65536, typeof(Windows.Foundation.UniversalApiContract))]
[Windows.Foundation.Metadata.Activatable(65536, typeof(Windows.Foundation.UniversalApiContract))]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class BluetoothLEAdvertisementDataSection
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.Activatable(65536, "Windows.Foundation.UniversalApiContract")]
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Devices.Bluetooth.Advertisement.IBluetoothLEAdvertisementDataSectionFactory), 65536, "Windows.Foundation.UniversalApiContract")]
public sealed class BluetoothLEAdvertisementDataSection
function BluetoothLEAdvertisementDataSection(dataType, data)
Public NotInheritable Class BluetoothLEAdvertisementDataSection
Herencia
Object Platform::Object IInspectable BluetoothLEAdvertisementDataSection
Atributos

Requisitos de Windows

Familia de dispositivos
Windows 10 (se introdujo en la versión 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (se introdujo en la versión v1.0)
Características de aplicaciones
bluetooth

Constructores

BluetoothLEAdvertisementDataSection()

Crea un nuevo objeto BluetoothLEAdvertisementDataSection .

BluetoothLEAdvertisementDataSection(Byte, IBuffer)

Crea un nuevo objeto BluetoothLEAdvertisementDataSection con el tipo de datos de anuncio bluetooth LE y la carga.

Propiedades

Data

La carga de datos de anuncios de Bluetooth LE.

DataType

Obtiene o establece el tipo de datos de anuncio bluetooth LE, tal y como se define en el grupo de interés especial (SIG) bluetooth. Consulte Números asignados y GAP.

Se aplica a

Consulte también