GattServerRequest.WriteCharacteristics


public final class GattServerRequest.WriteCharacteristics extends GattServerRequest


Represents a request to write characteristics.

If two or more writes are requested, they are expected to be written in order.

Summary

Nested types

A part of write requests.

Public methods

final @NonNull List<@NonNull GattServerRequest.WriteCharacteristics.Part>

a list of write request parts

final void

Notifies the failure of the write request.

final void

Notifies the success of the write request.

Public methods

getParts

Added in 1.0.0-alpha02
public final @NonNull List<@NonNull GattServerRequest.WriteCharacteristics.PartgetParts()

a list of write request parts

sendFailure

Added in 1.0.0-alpha02
public final void sendFailure()

Notifies the failure of the write request.

sendResponse

Added in 1.0.0-alpha02
public final void sendResponse()

Notifies the success of the write request.