DeletionRequest
open class DeletionRequest
| kotlin.Any | |
| ↳ | android.adservices.measurement.DeletionRequest | 
Deletion Request.
Summary
| Nested classes | |
|---|---|
| 
            
             Builder for   | 
        |
| 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 | 
            getEnd()Get the end of the deletion range.  | 
        
| open Int | 
            
             Get the match behavior.  | 
        
| open MutableList<Uri!> | 
            
             Get the list of origin URIs.  | 
        
| open Instant | 
            getStart()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: 0DELETION_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: 1MATCH_BEHAVIOR_DELETE
static val MATCH_BEHAVIOR_DELETE: Int
Match behavior option to delete the supplied params (Origin/Domains).
Value: 0MATCH_BEHAVIOR_PRESERVE
static val MATCH_BEHAVIOR_PRESERVE: Int
Match behavior option to preserve the supplied params (Origin/Domains) and delete everything else.
Value: 1Public methods
getDeletionMode
open fun getDeletionMode(): Int
Get the deletion mode.
| Return | |
|---|---|
Int | 
            Value is android.adservices.measurement.DeletionRequest#DELETION_MODE_ALL, or android.adservices.measurement.DeletionRequest#DELETION_MODE_EXCLUDE_INTERNAL_DATA | 
          
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. | 
          
getMatchBehavior
open fun getMatchBehavior(): Int
Get the match behavior.
| Return | |
|---|---|
Int | 
            Value is android.adservices.measurement.DeletionRequest#MATCH_BEHAVIOR_DELETE, or android.adservices.measurement.DeletionRequest#MATCH_BEHAVIOR_PRESERVE | 
          
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. |