ScheduleCustomAudienceUpdateRequest


class ScheduleCustomAudienceUpdateRequest
kotlin.Any
   ↳ android.adservices.customaudience.ScheduleCustomAudienceUpdateRequest

The request object wrapping the required and optional parameters to schedule a deferred update for Custom Audience on device. Allows AdTechs to provide an Update Uri, and the minimum Delay Time to schedule the update.

Summary

Nested classes

Builder for ScheduleCustomAudienceUpdateRequest objects.

Public methods
Boolean
equals(other: Any?)

Duration

Returns the Duration min time duration for which the update is deferred

MutableList<PartialCustomAudience!>

Returns the list of PartialCustomAudience which are sent along with the request to download the update for Custom Audience

Uri

Returns the Uri from which the Custom Audience is to be fetched

Int

Returns the hash of ScheduleCustomAudienceUpdateRequest object's data.

String

Public methods

equals

fun equals(other: Any?): Boolean
Parameters
obj the reference object with which to compare.
Return
Boolean true only if two ScheduleCustomAudienceUpdateRequest objects contain the same information.

getMinDelay

fun getMinDelay(): Duration

Returns the Duration min time duration for which the update is deferred

Return
Duration This value cannot be null.

getPartialCustomAudienceList

fun getPartialCustomAudienceList(): MutableList<PartialCustomAudience!>

Returns the list of PartialCustomAudience which are sent along with the request to download the update for Custom Audience

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

getUpdateUri

fun getUpdateUri(): Uri

Returns the Uri from which the Custom Audience is to be fetched

Return
Uri This value cannot be null.

hashCode

fun hashCode(): Int

Returns the hash of ScheduleCustomAudienceUpdateRequest object's data.

Return
Int a hash code value for this object.

toString

fun toString(): String
Return
String a human-readable representation of ScheduleCustomAudienceUpdateRequest.