Following the deprecation of the Google Sign-In API, we are removing the games v1 SDK in 2026. After February 2025, you will be unable to publish titles that are newly integrated with games v1 SDK, on Google Play. We recommend that you use the games v2 SDK instead.
While existing titles with the previous games v1 integrations continue to function for a couple of years, you are encouraged to migrate to v2 starting June 2025.
SnapshotMetadataChange.Builder
Stay organized with collections
Save and categorize content based on your preferences.
Public Constructor Summary
Inherited Method Summary
From class java.lang.Object
Object
|
clone()
|
boolean |
|
void |
finalize()
|
final Class<?>
|
getClass()
|
int |
hashCode()
|
final void |
notify()
|
final void |
notifyAll()
|
String
|
toString()
|
final void |
wait(long arg0, int arg1)
|
final void |
wait(long arg0)
|
final void |
wait()
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-24 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-01-24 UTC."],[[["`SnapshotMetadataChange.Builder` facilitates the creation of `SnapshotMetadataChange` objects, enabling modifications to snapshot metadata like descriptions and cover images."],["It offers methods to set the description, cover image, played time, and progress value of a snapshot."],["Developers can use `fromMetadata` to initialize the builder with existing snapshot metadata for easier modification."],["The `build()` method finalizes the changes and produces a `SnapshotMetadataChange` instance for use in updating snapshots."]]],["The `SnapshotMetadataChange.Builder` class facilitates the creation of `SnapshotMetadataChange` objects. Key actions include: constructing a `Builder` instance, building the final `SnapshotMetadataChange` object, and initializing from existing metadata. Builders can set properties such as a cover image (using a `Bitmap`), a description (using a `String`), played time in milliseconds, and a progress value (using longs). It contains public methods to modify `SnapshotMetadata` object attributes.\n"]]