Added in API level 29
Builder
class Builder
kotlin.Any | |
↳ | android.view.contentcapture.DataRemovalRequest.Builder |
Builder for DataRemovalRequest
objects.
Summary
Public constructors | |
---|---|
Builder() |
Public methods | |
---|---|
DataRemovalRequest.Builder |
addLocusId(locusId: LocusId, flags: Int) Request service to remove data associated with a given |
DataRemovalRequest |
build() Builds the |
DataRemovalRequest.Builder |
Requests servive to remove all content capture data associated with the app's package. |
Public constructors
Builder
Builder()
Public methods
addLocusId
Added in API level 29
fun addLocusId(
locusId: LocusId,
flags: Int
): DataRemovalRequest.Builder
Request service to remove data associated with a given LocusId
.
Parameters | |
---|---|
locusId |
LocusId: the LocusId being requested to be removed. This value cannot be null . |
flags |
Int: either DataRemovalRequest.FLAG_IS_PREFIX or 0 Value is either 0 or android.view.contentcapture.DataRemovalRequest#FLAG_IS_PREFIX |
Return | |
---|---|
DataRemovalRequest.Builder |
this builder This value cannot be null . |
build
Added in API level 29
fun build(): DataRemovalRequest
Builds the DataRemovalRequest
.
Return | |
---|---|
DataRemovalRequest |
This value cannot be null . |
forEverything
Added in API level 29
fun forEverything(): DataRemovalRequest.Builder
Requests servive to remove all content capture data associated with the app's package.
Return | |
---|---|
DataRemovalRequest.Builder |
this builder This value cannot be null . |