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

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 functions

Unit

Closes the specified resource.

Cmn

Public functions

close

fun close(): Unit

Closes the specified resource.