GattPresentationFormat
GattPresentationFormat
GattPresentationFormat
GattPresentationFormat
Class
Definition
Represents the value of a single Presentation Format GATT Descriptor.
public : sealed class GattPresentationFormat : IGattPresentationFormatpublic sealed class GattPresentationFormat : IGattPresentationFormatPublic NotInheritable Class GattPresentationFormat Implements IGattPresentationFormat// You can use this class in JavaScript.
- Attributes
| Device family |
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Properties
BluetoothSigAssignedNumbers BluetoothSigAssignedNumbers BluetoothSigAssignedNumbers BluetoothSigAssignedNumbers
Gets the value of the Bluetooth SIG Assigned Numbers Namespace.
public : static byte BluetoothSigAssignedNumbers { get; }public static byte BluetoothSigAssignedNumbers { get; }Public Static ReadOnly Property BluetoothSigAssignedNumbers As byte// You can use this property in JavaScript.
- Value
- byte byte byte byte
The value of the Bluetooth SIG Assigned Numbers Namespace.
Description Description Description Description
Gets the Description of the GattPresentationFormat object.
public : ushort Description { get; }public ushort Description { get; }Public ReadOnly Property Description As ushort// You can use this property in JavaScript.
- Value
- ushort ushort ushort ushort
The Description of the GattPresentationFormat object.
Exponent Exponent Exponent Exponent
Gets the Exponent of the GattPresentationFormat object.
public : int Exponent { get; }public int Exponent { get; }Public ReadOnly Property Exponent As int// You can use this property in JavaScript.
- Value
- int int int int
The Exponent of the GattPresentationFormat object.
FormatType FormatType FormatType FormatType
Gets the Format Type of the GattPresentationFormat object.
public : byte FormatType { get; }public byte FormatType { get; }Public ReadOnly Property FormatType As byte// You can use this property in JavaScript.
- Value
- byte byte byte byte
The Format Type of the GattPresentationFormat object.
Namespace Namespace Namespace Namespace
Gets the Namespace of the GattPresentationFormat object.
public : byte Namespace { get; }public byte Namespace { get; }Public ReadOnly Property Namespace As byte// You can use this property in JavaScript.
- Value
- byte byte byte byte
The Namespace of the GattPresentationFormat object.
Methods
FromParts(Byte, Int32, UInt16, Byte, UInt16) FromParts(Byte, Int32, UInt16, Byte, UInt16) FromParts(Byte, Int32, UInt16, Byte, UInt16) FromParts(Byte, Int32, UInt16, Byte, UInt16)
Creates a GattPresentationFormat object from parts.
public : static GattPresentationFormat FromParts(Byte formatType, int exponent, unsigned short unit, Byte namespaceId, unsigned short description)public static GattPresentationFormat FromParts(Byte formatType, Int32 exponent, UInt16 unit, Byte namespaceId, UInt16 description)Public Static Function FromParts(formatType As Byte, exponent As Int32, unit As UInt16, namespaceId As Byte, description As UInt16) As GattPresentationFormat// You can use this method in JavaScript.
- formatType
- Byte Byte Byte Byte
The Format Type.
- exponent
- int Int32 Int32 Int32
The exponent.
- unit
- unsigned short UInt16 UInt16 UInt16
The unit.
- namespaceId
- Byte Byte Byte Byte
The namespace ID.
- description
- unsigned short UInt16 UInt16 UInt16
The description.
An instance of GattPresentationFormat.
| Device family |
Windows 10 Creators Update (introduced v10.0.15063.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v4)
|