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.
Snapshots.DeleteSnapshotResult
This interface is deprecated.
snapshotId
is returned directly in the SnapshotsClient
.
Result delivered when a snapshot has been deleted.
Possible status codes include:
Inherited Method Summary
From interface com.google.android.gms.common.api.Result
Public Methods
public abstract String getSnapshotId ()
Returns
- The ID of the snapshot that was deleted. This may be null if the operation did
not complete.
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.
[null,null,["Last updated 2025-01-24 UTC."],[[["`Snapshots.DeleteSnapshotResult` is deprecated and used to indicate the result of a snapshot deletion."],["It provides the ID of the deleted snapshot through `getSnapshotId()`."],["Possible status codes include success, snapshot not found, client reconnect required, and internal error."],["`snapshotId` is now directly returned in the `SnapshotsClient`."]]],["The `Snapshots.DeleteSnapshotResult` interface, now deprecated, delivers the result of a snapshot deletion. It provides the `getSnapshotId` method to retrieve the deleted snapshot's ID. Possible status codes returned are `STATUS_OK` for success, `STATUS_SNAPSHOT_NOT_FOUND` if the snapshot doesn't exist, `STATUS_CLIENT_RECONNECT_REQUIRED` if a client reconnect is needed, and `STATUS_INTERNAL_ERROR` for unexpected errors. The interface also inherits the `getStatus` method from the `Result` interface. SnapshotId is returned in SnapshotsClient.\n"]]