Stay organized with collections
Save and categorize content based on your preferences.
Builder
class Builder
Builder for UpdateSignalsRequest
objects.
Summary
Public constructors |
Instantiates a Builder with the Uri from which the signal updates will be fetched.
|
Public constructors
Builder
Builder(updateUri: Uri)
Instantiates a Builder
with the Uri
from which the signal updates will be fetched.
Parameters |
updateUri |
Uri: This value cannot be null . |
Public methods
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[],null,["# UpdateSignalsRequest.Builder\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\nBuilder\n=======\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/adservices/signals/UpdateSignalsRequest.Builder \"View this page in Java\") \n\n```\nclass Builder\n```\n\n|---|--------------------------------------------------------------|\n| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) ||\n| ↳ | [android.adservices.signals.UpdateSignalsRequest.Builder](#) |\n\nBuilder for [UpdateSignalsRequest](/reference/kotlin/android/adservices/signals/UpdateSignalsRequest) objects.\n\nSummary\n-------\n\n| Public constructors ||\n|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| [Builder](#Builder(android.net.Uri))`(`updateUri:` `[Uri](../../net/Uri.html#)`)` Instantiates a [Builder](#) with the [Uri](../../net/Uri.html#) from which the signal updates will be fetched. |\n\n| Public methods ||\n|-------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [UpdateSignalsRequest](/reference/kotlin/android/adservices/signals/UpdateSignalsRequest) | [build](#build())`()` Builds an instance of a [UpdateSignalsRequest](/reference/kotlin/android/adservices/signals/UpdateSignalsRequest). |\n| [UpdateSignalsRequest.Builder](#) | [setUpdateUri](#setUpdateUri(android.net.Uri))`(`updateUri:` `[Uri](../../net/Uri.html#)`)` Sets the [Uri](../../net/Uri.html#) from which the JSON is to be fetched. |\n\nPublic constructors\n-------------------\n\n### Builder\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```\nBuilder(updateUri: Uri)\n```\n\nInstantiates a [Builder](#) with the [Uri](../../net/Uri.html#) from which the signal updates will be fetched.\n\n| Parameters ||\n|-------------|----------------------------------------------------------|\n| `updateUri` | [Uri](../../net/Uri.html#): This value cannot be `null`. |\n\nPublic methods\n--------------\n\n### build\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 build(): UpdateSignalsRequest\n```\n\nBuilds an instance of a [UpdateSignalsRequest](/reference/kotlin/android/adservices/signals/UpdateSignalsRequest).\n\n| Return ||\n|-------------------------------------------------------------------------------------------|------------------------------|\n| [UpdateSignalsRequest](/reference/kotlin/android/adservices/signals/UpdateSignalsRequest) | This value cannot be `null`. |\n\n| Exceptions ||\n|----------------------------------|------------------------------------|\n| `java.lang.NullPointerException` | if any non-null parameter is null. |\n\n### setUpdateUri\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 setUpdateUri(updateUri: Uri): UpdateSignalsRequest.Builder\n```\n\nSets the [Uri](../../net/Uri.html#) from which the JSON is to be fetched.\n\nSee [getUpdateUri()](/reference/kotlin/android/adservices/signals/UpdateSignalsRequest#getUpdateUri()) ()} for details.\n\n| Parameters ||\n|-------------|----------------------------------------------------------|\n| `updateUri` | [Uri](../../net/Uri.html#): This value cannot be `null`. |\n\n| Return ||\n|-----------------------------------|------------------------------|\n| [UpdateSignalsRequest.Builder](#) | This value cannot be `null`. |"]]