Dela via


BluetoothUuidHelper Class

Definition

A helper class that provides methods to convert between bluetooth device UUID and short ID.

public ref class BluetoothUuidHelper abstract sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 262144)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class BluetoothUuidHelper final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 262144)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public static class BluetoothUuidHelper
Public Class BluetoothUuidHelper
Inheritance
Object Platform::Object IInspectable BluetoothUuidHelper
Attributes

Windows requirements

Device family
Windows 10 Creators Update (introduced in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v4.0)
App capabilities
bluetooth

Methods

FromShortId(UInt32)

Returns the bluetooth device UUID from a short ID.

TryGetShortId(Guid)

Attempts to get the short bluetooth device ID from a UUID.

Applies to