Поделиться через


BluetoothLEAdvertisementDataSection Класс

Определение

Раздел объявления Bluetooth LE. Рекламный пакет Bluetooth LE может содержать несколько экземпляров этих объектов 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
Наследование
Object Platform::Object IInspectable BluetoothLEAdvertisementDataSection
Атрибуты

Требования к Windows

Семейство устройств
Windows 10 (появилось в 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (появилось в v1.0)
Возможности приложения
bluetooth

Конструкторы

BluetoothLEAdvertisementDataSection()

Создает объект BluetoothLEAdvertisementDataSection .

BluetoothLEAdvertisementDataSection(Byte, IBuffer)

Создает новый объект BluetoothLEAdvertisementDataSection с типом данных объявления Bluetooth LE и полезными данными.

Свойства

Data

Полезные данные рекламных данных Bluetooth LE.

DataType

Возвращает или задает тип данных объявления Bluetooth LE в соответствии с определением группы специальных интересов Bluetooth (SIG). См. раздел Назначенные номера и GAP.

Применяется к

См. также раздел