GattServiceUuids Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents an enumeration of the most well known Service UUID values, and provides convenience methods for working with GATT service UUIDs, and static properties providing service UUIDs for common GATT services. To view a list of all Bluetooth SIG-defined service UUIDs, see Bluetooth SIG-defined Service UUIDs.
Note
For UUIDs for which GattServiceUuids doesn't have a named property, you can use BluetoothUuidHelper.FromShortId.
public ref class GattServiceUuids abstract sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class GattServiceUuids 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)]
class GattServiceUuids final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public static class GattServiceUuids
[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 static class GattServiceUuids
Public Class GattServiceUuids
- Inheritance
- Attributes
Windows requirements
Device family |
Windows 10 (introduced in 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v1.0)
|
App capabilities |
bluetooth
|
Properties
AlertNotification |
Gets the Bluetooth SIG-defined AlertNotification Service UUID. |
Battery |
Gets the Bluetooth SIG-defined Battery Service UUID. |
BloodPressure |
Gets the Bluetooth SIG-defined Blood Pressure Service UUID. |
CurrentTime |
Gets the Bluetooth SIG-defined CurrentTime service UUID. |
CyclingPower |
Gets the Bluetooth SIG-defined CyclingPower service UUID. |
CyclingSpeedAndCadence |
Gets the Bluetooth SIG-defined Cycling Speed And Cadence Service UUID. |
DeviceInformation |
Gets the Bluetooth SIG-defined DeviceInformation service UUID. |
GenericAccess |
Gets the Bluetooth SIG-defined UUID for the Generic Access Service. |
GenericAttribute |
Gets the Bluetooth SIG-defined UUID for the Generic Attribute Service. |
Glucose |
Gets the Bluetooth SIG-defined Glucose Service UUID. |
HealthThermometer |
Gets the Bluetooth SIG-defined Health Thermometer Service UUID. |
HeartRate |
Gets the Bluetooth SIG-defined Heart Rate Service UUID. |
HumanInterfaceDevice |
Gets the Bluetooth SIG-defined HumanInterfaceDevice service UUID. |
ImmediateAlert |
Gets the Bluetooth SIG-defined ImmediateAlert service UUID. |
LinkLoss |
Gets the Bluetooth SIG-defined LinkLoss service UUID. |
LocationAndNavigation |
Gets the Bluetooth SIG-defined LocationAndNavigation service UUID. |
NextDstChange |
Gets the Bluetooth SIG-defined NextDstChange service UUID. |
PhoneAlertStatus |
Gets the Bluetooth SIG-defined PhoneAlertStatus service UUID. |
ReferenceTimeUpdate |
Gets the Bluetooth SIG-defined ReferenceTimeUpdate service UUID. |
RunningSpeedAndCadence |
Gets the Bluetooth SIG-defined Running Speed And Cadence Service UUID. |
ScanParameters |
Gets the Bluetooth SIG-defined ScanParameters service UUID. |
TxPower |
Gets the Bluetooth SIG-defined TxPower service UUID. |