PutDocumentsRequest

class PutDocumentsRequest


Encapsulates a request to index documents into an AppSearchSession database.

Documents added to the request can be instances of classes annotated with androidx.appsearch.annotation.Document or instances of GenericDocument.

See also
putAsync

Summary

Nested types

Builder for PutDocumentsRequest objects.

Public functions

(Mutable)List<GenericDocument!>

Returns a list of GenericDocument objects that are part of this request.

Public functions

getGenericDocuments

Added in 1.1.0-alpha04
fun getGenericDocuments(): (Mutable)List<GenericDocument!>

Returns a list of GenericDocument objects that are part of this request.