DeletionRequest


open class DeletionRequest
kotlin.Any
   ↳ android.adservices.measurement.DeletionRequest

Deletion Request.

Summary

Nested classes

Builder for DeletionRequest objects.

Constants
static Int

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

static Int

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

static Int

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

static Int

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

Public methods
open Int

Get the deletion mode.

open MutableList<Uri!>

Get the list of domain URIs.

open Instant

Get the end of the deletion range.

open Int

Get the match behavior.

open MutableList<Uri!>

Get the list of origin URIs.

open Instant

Get the start of the deletion range.

Constants

DELETION_MODE_ALL

static val DELETION_MODE_ALL: Int

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

Value: 0

DELETION_MODE_EXCLUDE_INTERNAL_DATA

static val DELETION_MODE_EXCLUDE_INTERNAL_DATA: Int

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

Value: 1

MATCH_BEHAVIOR_DELETE

static val MATCH_BEHAVIOR_DELETE: Int

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

Value: 0

MATCH_BEHAVIOR_PRESERVE

static val MATCH_BEHAVIOR_PRESERVE: Int

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

Value: 1

Public methods

getDomainUris

open fun getDomainUris(): MutableList<Uri!>

Get the list of domain URIs.

Return
MutableList<Uri!> This value cannot be null.

getEnd

open fun getEnd(): Instant

Get the end of the deletion range.

Return
Instant This value cannot be null.

getOriginUris

open fun getOriginUris(): MutableList<Uri!>

Get the list of origin URIs.

Return
MutableList<Uri!> This value cannot be null.

getStart

open fun getStart(): Instant

Get the start of the deletion range.

Return
Instant This value cannot be null.