Gatt​Presentation​Format Gatt​Presentation​Format Gatt​Presentation​Format 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
Attributes
Windows 10 requirements
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

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
Value
byte byte byte

The value of the Bluetooth SIG Assigned Numbers Namespace.

Attributes

Description Description Description

Gets the Description of the GattPresentationFormat object.

public ushort Description { get; }public ushort Description { get; }Public ReadOnly Property Description As ushort
Value
ushort ushort ushort

The Description of the GattPresentationFormat object.

Attributes

Exponent Exponent Exponent

Gets the Exponent of the GattPresentationFormat object.

public int Exponent { get; }public int Exponent { get; }Public ReadOnly Property Exponent As int
Value
int int int

The Exponent of the GattPresentationFormat object.

Attributes

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
Value
byte byte byte

The Format Type of the GattPresentationFormat object.

Attributes

Namespace Namespace Namespace

Gets the Namespace of the GattPresentationFormat object.

public byte Namespace { get; }public byte Namespace { get; }Public ReadOnly Property Namespace As byte
Value
byte byte byte

The Namespace of the GattPresentationFormat object.

Attributes

Unit Unit Unit

Gets the Unit of the GattPresentationFormat object.

public ushort Unit { get; }public ushort Unit { get; }Public ReadOnly Property Unit As ushort
Value
ushort ushort ushort

The Unit of the GattPresentationFormat object.

Attributes

Methods

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, Int32 exponent, UInt16 unit, Byte namespaceId, UInt16 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
Parameters
formatType
System.Byte System.Byte System.Byte

The Format Type.

exponent
System.Int32 System.Int32 System.Int32

The exponent.

unit
System.UInt16 System.UInt16 System.UInt16

The unit.

namespaceId
System.Byte System.Byte System.Byte

The namespace ID.

description
System.UInt16 System.UInt16 System.UInt16

The description.

Returns
Attributes
Additional features and requirements
Device family
Windows 10 Creators Update (introduced v10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v4)