DataRemovalRequest.Builder
public
static
final
class
DataRemovalRequest.Builder
extends Object
java.lang.Object | |
↳ | android.view.contentcapture.DataRemovalRequest.Builder |
Builder for DataRemovalRequest
objects.
Summary
Public constructors | |
---|---|
Builder()
|
Public methods | |
---|---|
DataRemovalRequest.Builder
|
addLocusId(LocusId locusId, int flags)
Request service to remove data associated with a given |
DataRemovalRequest
|
build()
Builds the |
DataRemovalRequest.Builder
|
forEverything()
Requests servive to remove all content capture data associated with the app's package. |
Inherited methods | |
---|---|
Public constructors
Builder
public Builder ()
Public methods
addLocusId
public DataRemovalRequest.Builder addLocusId (LocusId locusId, int flags)
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 DataRemovalRequest.FLAG_IS_PREFIX |
Returns | |
---|---|
DataRemovalRequest.Builder |
this builder
This value cannot be null . |
build
public DataRemovalRequest build ()
Builds the DataRemovalRequest
.
Returns | |
---|---|
DataRemovalRequest |
This value cannot be null . |
forEverything
public DataRemovalRequest.Builder forEverything ()
Requests servive to remove all content capture data associated with the app's package.
Returns | |
---|---|
DataRemovalRequest.Builder |
this builder
This value cannot be null . |