AI-generated Key Takeaways
-
SnapshotMetadataChange.Builderis a builder class used to createSnapshotMetadataChangeobjects. -
It provides methods to set properties like cover image, description, played time, and progress value for a snapshot's metadata.
-
The
build()method is used to create the finalSnapshotMetadataChangeobject from the builder. -
The
fromMetadata()method allows initializing the builder with existing snapshot metadata.
Builder for SnapshotMetadataChange
objects.
Public Constructor Summary
|
Builder()
|
Public Method Summary
| SnapshotMetadataChange |
build()
|
| SnapshotMetadataChange.Builder |
fromMetadata(SnapshotMetadata
metadata)
|
| SnapshotMetadataChange.Builder |
setCoverImage(Bitmap
coverImage)
|
| SnapshotMetadataChange.Builder |
setDescription(String description)
|
| SnapshotMetadataChange.Builder |
setPlayedTimeMillis(long playedTimeMillis)
|
| SnapshotMetadataChange.Builder |
setProgressValue(long progressValue)
|