Added in API level 31
RemoveByDocumentIdRequest
class RemoveByDocumentIdRequest
kotlin.Any | |
↳ | android.app.appsearch.RemoveByDocumentIdRequest |
Encapsulates a request to remove documents by namespace and IDs from the AppSearchSession
database.
Summary
Nested classes | |
---|---|
Builder for |
Public methods | |
---|---|
MutableSet<String!> |
getIds() Returns the set of document IDs attached to the request. |
String |
Returns the namespace to remove documents from. |
Public methods
getIds
Added in API level 31
fun getIds(): MutableSet<String!>
Returns the set of document IDs attached to the request.
Return | |
---|---|
MutableSet<String!> |
This value cannot be null . |
getNamespace
Added in API level 31
fun getNamespace(): String
Returns the namespace to remove documents from.
Return | |
---|---|
String |
This value cannot be null . |