GattReliableWriteTransaction GattReliableWriteTransaction GattReliableWriteTransaction GattReliableWriteTransaction GattReliableWriteTransaction Class

Definition

Performs GATT reliable writes on the Bluetooth LE device, in the form of a transaction write operation.

public : sealed class GattReliableWriteTransaction
struct winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattReliableWriteTransaction
public sealed class GattReliableWriteTransaction
Public NotInheritable Class GattReliableWriteTransaction
var gattReliableWriteTransaction = new gattReliableWriteTransaction();
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

Version history

Windows version SDK version Value added
1703 15063 CommitWithResultAsync

Constructors

GattReliableWriteTransaction() GattReliableWriteTransaction() GattReliableWriteTransaction() GattReliableWriteTransaction() GattReliableWriteTransaction()

Creates a new GattReliableWriteTransaction object.

Methods

CommitAsync() CommitAsync() CommitAsync() CommitAsync() CommitAsync()

Performs all the queued writes, in sequence, writing the data to the device. Once a transaction object has been committed, no further operations are possible on the GattReliableWriteTransaction object.

CommitWithResultAsync() CommitWithResultAsync() CommitWithResultAsync() CommitWithResultAsync() CommitWithResultAsync()

Performs all the queued writes, in sequence, writing the data to the device. Once a transaction object has been committed, no further operations are possible on the GattReliableWriteTransaction object.

WriteValue(GattCharacteristic, IBuffer) WriteValue(GattCharacteristic, IBuffer) WriteValue(GattCharacteristic, IBuffer) WriteValue(GattCharacteristic, IBuffer) WriteValue(GattCharacteristic, IBuffer)

Adds a new write operation to the transaction object.