XPersistentLocalStorage

Important

XBOX Docs are now on docs.xbox.com! This page is kept as an archive and is no longer being updated. Visit our documentation on docs.xbox.com for the latest information and updates.

Visit the latest docs on docs.xbox.com

Reference material for the XPersistentLocalStorage APIs.

Functions

Function Description
XPersistentLocalStorageGetPath Returns the game-specific path to the persistent local storage (PLS) on the device.
XPersistentLocalStorageGetPathSize Returns the length, in characters, of the path to the persistent local storage (PLS).
XPersistentLocalStorageGetSpaceInfo Returns an XPersistentLocalStorageSpaceInfo struct with storage space details, such as space available.
XPersistentLocalStorageMountForPackage Mounts the persistent local storage (PLS) of the specified package as a read-only disc.
XPersistentLocalStoragePromptUserForSpaceAsync Allows titles to prompt users to free up a requested total number of Bytes of Growable Persistent Local Storage.
XPersistentLocalStoragePromptUserForSpaceResult Returns the result of a call to the function XPersistentLocalStoragePromptUserForSpaceAsync.

Structures

Structure Description
XPersistentLocalStorageSpaceInfo Contains details about the state of Persistent Local Storage (PLS), returned by XPersistentLocalStorageGetSpaceInfo

Conceptual documentation

See also

System API reference