BluetoothUuidHelper
BluetoothUuidHelper
BluetoothUuidHelper
BluetoothUuidHelper
Class
Definition
A helper class that provides methods to convert between bluetooth device UUID and short ID.
public : static class BluetoothUuidHelperpublic static class BluetoothUuidHelperPublic Static Class BluetoothUuidHelper// You can use this class in JavaScript.
- Attributes
Windows 10 requirements
| Device family |
Windows 10 Creators Update (introduced v10.0.15063.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v4)
|
Methods
FromShortId(UInt32) FromShortId(UInt32) FromShortId(UInt32) FromShortId(UInt32)
Returns the bluetooth device UUID from a short ID.
public : static PlatForm::Guid FromShortId(unsigned int shortId)public static Guid FromShortId(UInt32 shortId)Public Static Function FromShortId(shortId As UInt32) As Guid// You can use this method in JavaScript.
Parameters
- shortId
- unsigned int UInt32 UInt32 UInt32
The short ID.
Returns
PlatForm::Guid
Guid
Guid
Guid
Returns the UUID.
TryGetShortId(Guid) TryGetShortId(Guid) TryGetShortId(Guid) TryGetShortId(Guid)
Attempts to get the short bluetooth device ID from a UUID.
public : static IReference<unsigned int> TryGetShortId(PlatForm::Guid uuid)public static Nullable<uint> TryGetShortId(Guid uuid)Public Static Function TryGetShortId(uuid As Guid) As Nullable( Of uint )// You can use this method in JavaScript.
Parameters
- uuid
- PlatForm::Guid Guid Guid Guid
The UUID.
Returns
IReference<unsigned int>
Nullable<uint>
Nullable<uint>
Nullable<uint>
Returns the short ID.