GattWriteRequest GattWriteRequest GattWriteRequest GattWriteRequest GattWriteRequest Class

Definition

This class represents a GATT write request.

public : sealed class GattWriteRequest
struct winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattWriteRequest
public sealed class GattWriteRequest
Public NotInheritable Class GattWriteRequest
// This class does not provide a public constructor.
Attributes

Windows 10 requirements

Device family
Windows 10 Creators Update (introduced v10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v4)
Capabilities
bluetooth

Properties

Offset Offset Offset Offset Offset

Gets the offset.

Option Option Option Option Option

Gets the write request option.

State State State State State

Gets the state of the write request.

Value Value Value Value Value

Gets the buffer value of the write request.

Methods

Respond() Respond() Respond() Respond() Respond()

Responds to the write request.

RespondWithProtocolError(Byte) RespondWithProtocolError(Byte) RespondWithProtocolError(Byte) RespondWithProtocolError(Byte) RespondWithProtocolError(Byte)

Responds with a protocol error.

Events

StateChanged StateChanged StateChanged StateChanged StateChanged

An event that is triggered when the state of the write request has changed.