Stay organized with collections
Save and categorize content based on your preferences.
UpdateSignalsRequest
class UpdateSignalsRequest
The request object for updateSignals.
updateUri
is the only parameter. It represents the URI that the service will reach out to retrieve the signals updates.
Summary
Public methods
equals
fun equals(other: Any?): Boolean
Parameters |
obj |
the reference object with which to compare. |
getUpdateUri
fun getUpdateUri(): Uri
Return |
Uri |
the Uri from which the signal updates will be fetched. This value cannot be null . |
hashCode
fun hashCode(): Int
toString
fun toString(): String
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[null,null,["Last updated 2025-02-10 UTC."],[],[],null,["# UpdateSignalsRequest\n\nAdded in [API level 35](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \nAlso in [Ad Services Extensions 12](https://developer.android.com/sdkExtensions)\n\nUpdateSignalsRequest\n====================\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/adservices/signals/UpdateSignalsRequest \"View this page in Java\") \n\n```\nclass UpdateSignalsRequest\n```\n\n|---|------------------------------------------------------|\n| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) ||\n| ↳ | [android.adservices.signals.UpdateSignalsRequest](#) |\n\nThe request object for updateSignals.\n\n`updateUri` is the only parameter. It represents the URI that the service will reach out to retrieve the signals updates.\n\nSummary\n-------\n\n| Nested classes ||\n|---|-------------------------------------------------------------------------------------------------------------------------------------|\n| | [Builder](/reference/kotlin/android/adservices/signals/UpdateSignalsRequest.Builder) Builder for [UpdateSignalsRequest](#) objects. |\n\n| Public methods ||\n|------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------|\n| [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) | [equals](#equals(kotlin.Any))`(`other:` `[Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)?`)` \u003cbr /\u003e |\n| [Uri](../../net/Uri.html#) | [getUpdateUri](#getUpdateUri())`()` \u003cbr /\u003e |\n| [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [hashCode](#hashCode())`()` \u003cbr /\u003e |\n| [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [toString](#toString())`()` \u003cbr /\u003e |\n\nPublic methods\n--------------\n\n### equals\n\nAdded in [API level 35](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nfun equals(other: Any?): Boolean\n```\n\n| Parameters ||\n|-------|---------------------------------------------|\n| `obj` | the reference object with which to compare. |\n\n| Return ||\n|------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------|\n| [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) | `true` if and only if the other object is [UpdateSignalsRequest](#) with the same update URI. |\n\n### getUpdateUri\n\nAdded in [API level 35](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \nAlso in [Ad Services Extensions 12](https://developer.android.com/sdkExtensions) \n\n```\nfun getUpdateUri(): Uri\n```\n\n| Return ||\n|----------------------------|------------------------------------------------------------------------------------------------------------|\n| [Uri](../../net/Uri.html#) | the [Uri](../../net/Uri.html#) from which the signal updates will be fetched. This value cannot be `null`. |\n\n### hashCode\n\nAdded in [API level 35](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nfun hashCode(): Int\n```\n\n| Return ||\n|----------------------------------------------------------------------------|----------------------------------------------------------|\n| [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | the hash of the [UpdateSignalsRequest](#) object's data. |\n\n### toString\n\nAdded in [API level 35](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nfun toString(): String\n```\n\n| Return ||\n|----------------------------------------------------------------------------------|---------------------------------------------------------------|\n| [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | a human-readable representation of [UpdateSignalsRequest](#). |"]]