DeletionRequest


public class DeletionRequest
extends Object

java.lang.Object
   ↳ android.adservices.measurement.DeletionRequest


Deletion Request.

Summary

Nested classes

class DeletionRequest.Builder

Builder for DeletionRequest objects. 

Constants

int DELETION_MODE_ALL

Deletion mode to delete all data associated with the selected records.

int DELETION_MODE_EXCLUDE_INTERNAL_DATA

Deletion mode to delete all data except the internal data (e.g. rate limits) for the selected records.

int MATCH_BEHAVIOR_DELETE

Match behavior option to delete the supplied params (Origin/Domains).

int MATCH_BEHAVIOR_PRESERVE

Match behavior option to preserve the supplied params (Origin/Domains) and delete everything else.

Public methods

int getDeletionMode()

Get the deletion mode.

List<Uri> getDomainUris()

Get the list of domain URIs.

Instant getEnd()

Get the end of the deletion range.

int getMatchBehavior()

Get the match behavior.

List<Uri> getOriginUris()

Get the list of origin URIs.

Instant getStart()

Get the start of the deletion range.

Inherited methods

Constants

DELETION_MODE_ALL

public static final int DELETION_MODE_ALL

Deletion mode to delete all data associated with the selected records.

Constant Value: 0 (0x00000000)

DELETION_MODE_EXCLUDE_INTERNAL_DATA

public static final int DELETION_MODE_EXCLUDE_INTERNAL_DATA

Deletion mode to delete all data except the internal data (e.g. rate limits) for the selected records.

Constant Value: 1 (0x00000001)

MATCH_BEHAVIOR_DELETE

public static final int MATCH_BEHAVIOR_DELETE

Match behavior option to delete the supplied params (Origin/Domains).

Constant Value: 0 (0x00000000)

MATCH_BEHAVIOR_PRESERVE

public static final int MATCH_BEHAVIOR_PRESERVE

Match behavior option to preserve the supplied params (Origin/Domains) and delete everything else.

Constant Value: 1 (0x00000001)

Public methods

getDeletionMode

public int getDeletionMode ()

Get the deletion mode.

Returns
int Value is DELETION_MODE_ALL, or DELETION_MODE_EXCLUDE_INTERNAL_DATA

getDomainUris

public List<Uri> getDomainUris ()

Get the list of domain URIs.

Returns
List<Uri> This value cannot be null.

getEnd

public Instant getEnd ()

Get the end of the deletion range.

Returns
Instant This value cannot be null.

getMatchBehavior

public int getMatchBehavior ()

Get the match behavior.

Returns
int Value is MATCH_BEHAVIOR_DELETE, or MATCH_BEHAVIOR_PRESERVE

getOriginUris

public List<Uri> getOriginUris ()

Get the list of origin URIs.

Returns
List<Uri> This value cannot be null.

getStart

public Instant getStart ()

Get the start of the deletion range.

Returns
Instant This value cannot be null.