GattReadRequest Klasse

Definition

Diese Klasse stellt eine Bluetooth GATT-Leseanforderung dar.

public ref class GattReadRequest sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 262144)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class GattReadRequest final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 262144)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class GattReadRequest final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 262144)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class GattReadRequest
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 262144)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class GattReadRequest
Public NotInheritable Class GattReadRequest
Vererbung
Object Platform::Object IInspectable GattReadRequest
Attribute

Windows-Anforderungen

Gerätefamilie
Windows 10 Creators Update (eingeführt in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (eingeführt in v4.0)
App-Funktionen
bluetooth

Eigenschaften

Length

Ruft die Pufferlänge der Leseanforderung ab.

Offset

Ruft den Leseanforderungsoffset ab.

State

Ruft den Leseanforderungsstatus ab.

Methoden

RespondWithProtocolError(Byte)

Antwortet auf die Leseanforderung mit einem Protokollfehler.

RespondWithValue(IBuffer)

Antwortet auf eine Leseanforderung mit einem Wert.

Ereignisse

StateChanged

Dies ist ein Ereignis, das ausgelöst wird, wenn der Status der Leseanforderung geändert wurde.

Gilt für: