{% setvar book_path %}/reference/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}

Closeable

public interface Closeable

Known direct subclasses
ReadScope

The scope used for a read transaction.

StorageConnection

StorageConnection provides a way to read and write a particular type of data.

Known indirect subclasses
WriteScope

The scope used for a write transaction.


Datastore common version of java.io.Closeable

Summary

Public methods

abstract void

Closes the specified resource.

Public methods

close

abstract void close()

Closes the specified resource.