SnapshotMetadataChange | Android Developers

Quicknav Quicknav
Links

- Google Play Developer Console
- Android Developers Blog
- About Android

Android Sites

- Android.com
- Android Developers
- Android Open Source Project

Language
close

- - About
  - Wear
  - TV
  - Auto
- - Get Started
  - Devices
  - Style
  - Patterns
  - Building Blocks
  - Downloads
  - Videos
- - Training
  - API Guides
  - Reference
  - Tools
  - Google Services
  - Samples
- - Google Play
  - Essentials
  - Get Users
  - Engage & Retain
  - Monetize
  - Tools & Reference
  - Developer Stories

## Results

Loading...
Summary: Nested Classes | Inherited Constants | Fields | Methods | Inherited Methods | [Expand All]
public final class

# SnapshotMetadataChange

extends Object
implements SafeParcelable

java.lang.Object
↳ | com.google.android.gms.games.snapshot.SnapshotMetadataChange

## Class Overview

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

## Summary

Nested Classes
class | SnapshotMetadataChange.Builder | Builder for `SnapshotMetadataChange` objects.

[Expand] Inherited Constants
From interface android.os.Parcelable
int | CONTENTS_FILE_DESCRIPTOR |
int | PARCELABLE_WRITE_RETURN_VALUE |
From interface com.google.android.gms.common.internal.safeparcel.SafeParcelable
String | NULL |

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

Public Methods
int | describeContents()
Bitmap | getCoverImage()
String | getDescription()
Long | getPlayedTimeMillis()
void | writeToParcel(Parcel out, int flags)

[Expand] Inherited Methods
From class java.lang.Object
Object | clone()
boolean | equals(Object arg0)
void | finalize()
final Class<?> | getClass()
int | hashCode()
final void | notify()
final void | notifyAll()
String | toString()
final void | wait()
final void | wait(long arg0, int arg1)
final void | wait(long arg0)
From interface android.os.Parcelable
abstract int | describeContents()
abstract void | writeToParcel(Parcel arg0, int arg1)

## Fields

#### public static final SnapshotMetadataChangeCreator CREATOR

#### public static final SnapshotMetadataChange EMPTY_CHANGE

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

## Public Methods

#### public int describeContents ()

#### public Bitmap getCoverImage ()

##### Returns

- The new cover image to set for the snapshot.

#### public String getDescription ()

##### Returns

- The new description to set for the snapshot.

#### public Long getPlayedTimeMillis ()

##### Returns

- The new played time to set for the snapshot.

#### public void writeToParcel (Parcel out, int flags)