GattPresentationFormat GattPresentationFormat GattPresentationFormat GattPresentationFormat Class

Represents the value of a single Presentation Format GATT Descriptor.

Syntax

Declaration

public sealed class GattPresentationFormatpublic sealed class GattPresentationFormatPublic NotInheritable Class GattPresentationFormatpublic sealed class GattPresentationFormat

Properties summary

Gets the value of the Bluetooth SIG Assigned Numbers Namespace.

Gets the Description of the GattPresentationFormat object.

Gets the Exponent of the GattPresentationFormat object.

Gets the Format Type of the GattPresentationFormat object.

Gets the Namespace of the GattPresentationFormat object.

Gets the Unit of the GattPresentationFormat object.

Methods summary

Prerelease. Creates a GattPresentationFormat object from parts.

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 bytepublic static byte BluetoothSigAssignedNumbers { get; }

    Property 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 ushortpublic ushort Description { get; }

    Property 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 intpublic int Exponent { get; }

    Property 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 bytepublic byte FormatType { get; }

    Property 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 bytepublic byte Namespace { get; }

    Property Value

    • byte
      byte
      byte
      byte

      The Namespace of the GattPresentationFormat object.

  • Unit
    Unit
    Unit
    Unit

    Gets the Unit of the GattPresentationFormat object.

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

    Property Value

    • ushort
      ushort
      ushort
      ushort

      The Unit 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)

    Prerelease. 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 GattPresentationFormatpublic static GattPresentationFormat FromParts(Byte formatType, Int32 exponent, UInt16 unit, Byte namespaceId, UInt16 description)

    Parameters

    • formatType
      System.Byte
      System.Byte
      System.Byte
      System.Byte

      The Format Type.

    • exponent
      System.Int32
      System.Int32
      System.Int32
      System.Int32

      The exponent.

    • unit
      System.UInt16
      System.UInt16
      System.UInt16
      System.UInt16

      The unit.

    • namespaceId
      System.Byte
      System.Byte
      System.Byte
      System.Byte

      The namespace ID.

    • description
      System.UInt16
      System.UInt16
      System.UInt16
      System.UInt16

      The description.

    Returns

Device family

Windows 10 (introduced v10.0.10240.0)

API contract

Windows.Foundation.UniversalApiContract (introduced v1)

Attributes

Windows.Foundation.Metadata.ContractVersionAttribute
Windows.Foundation.Metadata.DualApiPartitionAttribute
Windows.Foundation.Metadata.MarshalingBehaviorAttribute
Windows.Foundation.Metadata.StaticAttribute
Windows.Foundation.Metadata.StaticAttribute
Windows.Foundation.Metadata.ThreadingAttribute

Details

Assembly

Windows.Devices.Bluetooth.GenericAttributeProfile.dll