GattReadResult GattReadResult GattReadResult GattReadResult GattReadResult Class

Definition

Represents the result of an asynchronous read operation of a GATT Characteristic or Descriptor value.

public : sealed class GattReadResult : IGattReadResult, IGattReadResult2
struct winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattReadResult : IGattReadResult, IGattReadResult2
public sealed class GattReadResult : IGattReadResult, IGattReadResult2
Public NotInheritable Class GattReadResult Implements IGattReadResult, IGattReadResult2
// This class does not provide a public constructor.
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)
Capabilities
bluetooth

Remarks

One of the ReadValueAsync methods is used to retrieve a GattReadResult object.

The Status property on the GattReadResult returned indicates if the result of the operation was successful.

Properties

ProtocolError ProtocolError ProtocolError ProtocolError ProtocolError

Gets the protocol error.

Status Status Status Status Status

Gets the status of an asynchronous operation.

Value Value Value Value Value

Gets the value read from the device.

See Also