Stay organized with collections
Save and categorize content based on your preferences.
@Document.BuilderProducer
class Event.Builder : Event.BuilderBase
Summary
Public constructors |
|
Constructor with all the existing values.
|
|
Constructor for Event.Builder.
|
Inherited functions |
From androidx.appsearch.builtintypes.Event.BuilderBase
Event |
Builds a Thing object.
|
T |
Sets the duration of the event as a Duration.
|
T |
Sets the end date of the event as a Instant.
|
T |
Sets the location of the event.
|
T |
Sets the logo of the event.
|
|
From androidx.appsearch.builtintypes.Thing.BuilderBase
T |
Adds an alias for the item.
|
T |
Add a new action to the list of potential actions for this document.
|
Thing |
Builds a Thing object.
|
T |
Clears the aliases, if any, for the item.
|
T |
Clear all the potential actions for this document.
|
Unit |
If built, make a copy of previous data for every field so that the builder can be reused.
|
T |
Sets a list of aliases for the item.
|
T |
Sets the creation timestamp for the current AppSearch entity, in milliseconds using the currentTimeMillis time base.
|
T |
Sets the description for the item.
|
T |
Sets the user-provided opaque document score of the current AppSearch document, which can be used for ranking using RANKING_STRATEGY_DOCUMENT_SCORE.
|
T |
Sets the time-to-live (TTL) for the current AppSearch document as a duration in milliseconds.
|
T |
Sets the URL for an image of the item.
|
T |
Sets the name of the item.
|
T |
Sets a list of potential actions for this document.
|
T |
Sets the deeplink URL of the item.
|
|
Public constructors
Builder(event: Event)
Constructor with all the existing values.
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 2026-08-26 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 2026-08-26 UTC."],[],[]]