Hide

SnapshotMetadataChange

public abstract class SnapshotMetadataChange extends Object
java.lang.Object
   ↳ com.google.android.gms.games.snapshot.SnapshotMetadataChange

A collection of changes to apply to the metadata of a snapshot. Fields that are not set will retain their current values.

Nested Class Summary

class SnapshotMetadataChange.Builder Builder for SnapshotMetadataChange objects. 

Field Summary

public static final SnapshotMetadataChange EMPTY_CHANGE Sentinel object to use to commit a change without modifying the metadata.

Protected Constructor Summary

Public Method Summary

abstract Bitmap
abstract String
abstract Long
abstract Long

Fields

public static final SnapshotMetadataChange EMPTY_CHANGE

Sentinel object to use to commit a change without modifying the metadata.

Protected Constructors

protected SnapshotMetadataChange ()

Public Methods

public abstract Bitmap getCoverImage ()

Returns
  • The new cover image to set for the snapshot.

public abstract String getDescription ()

Returns
  • The new description to set for the snapshot.

public abstract Long getPlayedTimeMillis ()

Returns
  • The new played time to set for the snapshot.

public abstract Long getProgressValue ()

Returns
  • The new progress value to set for the snapshot.