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.

Google Play's billing system is a service that enables you to sell digital products and content in your Android app.

Updated Oct 11, 2024

Discover the latest app development tools, platform updates, training, and documentation for developers across every Android device.

Updated Apr 11, 2024

Details on the restricted non-SDK APIs in Android 14.

Updated Dec 20, 2024