次の方法で共有


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)

Bluetooth LE アドバタイズデータ型とペイロードを使用して、新しい BluetoothLEAdvertisementDataSection オブジェクトを作成します。

プロパティ

Data

Bluetooth LE アドバタイズ データ ペイロード。

DataType

Bluetooth 特別関心グループ (SIG) で定義されている Bluetooth LE アドバタイズデータ型を取得または設定します。 「割り当てられた数値と GAP」を参照してください。

適用対象

こちらもご覧ください