GameSaveProvider GameSaveProvider GameSaveProvider GameSaveProvider GameSaveProvider Class

Definition

GameSaveProvider is used to create, save, enumerate, and load Xbox Live game saves.

public : sealed class GameSaveProvider
struct winrt::Windows::Gaming::XboxLive::Storage::GameSaveProvider
public sealed class GameSaveProvider
Public NotInheritable Class GameSaveProvider
// This class does not provide a public constructor.
Attributes

Windows 10 requirements

Device family
Xbox Live Extension SDK (introduced v10.0.10240.0) Windows 10 Fall Creators Update (introduced v10.0.16299.0)
API contract
Windows.Gaming.XboxLive.StorageApiContract (introduced v1)

Remarks

Call GetForUserAsync or GetSyncOnDemandForUserAsync to obtain a GameSaveProvider instance.

Important

This API is targeted towards UWP games and apps with Xbox Live Enabled. Calls to these APIs made from sources that are not Xbox Live enabled will not be able to sync data to the cloud.

Properties

ContainersChangedSinceLastSync ContainersChangedSinceLastSync ContainersChangedSinceLastSync ContainersChangedSinceLastSync ContainersChangedSinceLastSync

Called on a new GameSaveProvider instance, returns the names of containers that have changed since the application last ran.

User User User User User

User associated with this game save provider and its game save containers.

Methods

CreateContainer(String) CreateContainer(String) CreateContainer(String) CreateContainer(String) CreateContainer(String)

Creates a new GameSaveContainer to store a game save.

CreateContainerInfoQuery() CreateContainerInfoQuery() CreateContainerInfoQuery() CreateContainerInfoQuery() CreateContainerInfoQuery()

Creates a GameSaveContainerInfoQuery instance that enumerates all containers in this game save provider.

CreateContainerInfoQuery(String) CreateContainerInfoQuery(String) CreateContainerInfoQuery(String) CreateContainerInfoQuery(String) CreateContainerInfoQuery(String)

Creates a GameSaveContainerInfoQuery instance that enumerates the containers in this game save provider that have names that begin with the specified prefix.

DeleteContainerAsync(String) DeleteContainerAsync(String) DeleteContainerAsync(String) DeleteContainerAsync(String) DeleteContainerAsync(String)

Asynchronously deletes the specified game save container.

GetForUserAsync(User, String) GetForUserAsync(User, String) GetForUserAsync(User, String) GetForUserAsync(User, String) GetForUserAsync(User, String)

Gets a game save provider for the specified user.

GetRemainingBytesInQuotaAsync() GetRemainingBytesInQuotaAsync() GetRemainingBytesInQuotaAsync() GetRemainingBytesInQuotaAsync() GetRemainingBytesInQuotaAsync()

Get the bytes remaining in the user's quota for this game save provider.

GetSyncOnDemandForUserAsync(User, String) GetSyncOnDemandForUserAsync(User, String) GetSyncOnDemandForUserAsync(User, String) GetSyncOnDemandForUserAsync(User, String) GetSyncOnDemandForUserAsync(User, String)

Gets a partially-synced game save provider that syncs containers on demand.

See also