public class EOS_PlayerDataStorage_Interface
extends com.sun.jna.PointerType
| Modifier and Type | Field and Description |
|---|---|
static int |
EOS_PLAYERDATASTORAGE_FILENAME_MAX_LENGTH_BYTES
Maximum File Name Length in bytes
|
| Constructor and Description |
|---|
EOS_PlayerDataStorage_Interface() |
EOS_PlayerDataStorage_Interface(com.sun.jna.Pointer address) |
| Modifier and Type | Method and Description |
|---|---|
EOS_PlayerDataStorage_FileMetadata |
copyFileMetadataAtIndex(EOS_PlayerDataStorage_CopyFileMetadataAtIndexOptions copyFileMetadataOptions)
Get the cached copy of a file's metadata by index.
|
EOS_PlayerDataStorage_FileMetadata |
copyFileMetadataByFilename(EOS_PlayerDataStorage_CopyFileMetadataByFilenameOptions copyFileMetadataOptions)
Create the cached copy of a file's metadata by filename.
|
EOS_EResult |
deleteCache(EOS_PlayerDataStorage_DeleteCacheOptions options,
com.sun.jna.Pointer clientData,
EOS_PlayerDataStorage_OnDeleteCacheCompleteCallback completionCallback)
Clear previously cached file data.
|
void |
deleteFile(EOS_PlayerDataStorage_DeleteFileOptions deleteOptions,
com.sun.jna.Pointer clientData,
EOS_PlayerDataStorage_OnDeleteFileCompleteCallback completionCallback)
Deletes an existing file in the cloud.
|
void |
duplicateFile(EOS_PlayerDataStorage_DuplicateFileOptions duplicateOptions,
com.sun.jna.Pointer clientData,
EOS_PlayerDataStorage_OnDuplicateFileCompleteCallback completionCallback)
Copies the data of an existing file to a new filename.
|
int |
getFileMetadataCount(EOS_PlayerDataStorage_GetFileMetadataCountOptions getFileMetadataCountOptions)
Get the count of files we have previously queried information for and files we have previously read from / written to.
|
void |
queryFile(EOS_PlayerDataStorage_QueryFileOptions queryFileOptions,
com.sun.jna.Pointer clientData,
EOS_PlayerDataStorage_OnQueryFileCompleteCallback completionCallback)
Query a specific file's metadata, such as file names, size, and a MD5 hash of the data.
|
void |
queryFileList(EOS_PlayerDataStorage_QueryFileListOptions queryFileListOptions,
com.sun.jna.Pointer clientData,
EOS_PlayerDataStorage_OnQueryFileListCompleteCallback completionCallback)
Query the file metadata, such as file names, size, and a MD5 hash of the data, for all files owned by this user for this application.
|
EOS_PlayerDataStorageFileTransferRequest |
readFile(EOS_PlayerDataStorage_ReadFileOptions readOptions,
com.sun.jna.Pointer clientData,
EOS_PlayerDataStorage_OnReadFileCompleteCallback completionCallback)
Retrieve the contents of a specific file, potentially downloading the contents if we do not have a local copy, from the cloud.
|
EOS_PlayerDataStorageFileTransferRequest |
writeFile(EOS_PlayerDataStorage_WriteFileOptions writeOptions,
com.sun.jna.Pointer clientData,
EOS_PlayerDataStorage_OnWriteFileCompleteCallback completionCallback)
Write new data to a specific file, potentially overwriting any existing file by the same name, to the cloud.
|
public static final int EOS_PLAYERDATASTORAGE_FILENAME_MAX_LENGTH_BYTES
public EOS_PlayerDataStorage_Interface(com.sun.jna.Pointer address)
public EOS_PlayerDataStorage_Interface()
public void queryFile(EOS_PlayerDataStorage_QueryFileOptions queryFileOptions, com.sun.jna.Pointer clientData, EOS_PlayerDataStorage_OnQueryFileCompleteCallback completionCallback)
queryFileOptions - Object containing properties related to which user is querying files, and what file is being queriedclientData - Optional pointer to help clients track this request, that is returned in the completion callbackcompletionCallback - This function is called when the query operation completesgetFileMetadataCount(EOS_PlayerDataStorage_GetFileMetadataCountOptions),
copyFileMetadataAtIndex(EOS_PlayerDataStorage_CopyFileMetadataAtIndexOptions),
copyFileMetadataByFilename(EOS_PlayerDataStorage_CopyFileMetadataByFilenameOptions)public void queryFileList(EOS_PlayerDataStorage_QueryFileListOptions queryFileListOptions, com.sun.jna.Pointer clientData, EOS_PlayerDataStorage_OnQueryFileListCompleteCallback completionCallback)
queryFileListOptions - Object containing properties related to which user is querying filesclientData - Optional pointer to help clients track this request, that is returned in the completion callbackcompletionCallback - This function is called when the query operation completesgetFileMetadataCount(EOS_PlayerDataStorage_GetFileMetadataCountOptions),
copyFileMetadataAtIndex(EOS_PlayerDataStorage_CopyFileMetadataAtIndexOptions),
copyFileMetadataByFilename(EOS_PlayerDataStorage_CopyFileMetadataByFilenameOptions)public EOS_PlayerDataStorage_FileMetadata copyFileMetadataByFilename(EOS_PlayerDataStorage_CopyFileMetadataByFilenameOptions copyFileMetadataOptions) throws EOSException
copyFileMetadataOptions - Object containing properties related to which user is requesting metadata, and for which filenameEOSException - error result explaining what went wrong if the metadata isn't cachedpublic int getFileMetadataCount(EOS_PlayerDataStorage_GetFileMetadataCountOptions getFileMetadataCountOptions) throws EOSException
getFileMetadataCountOptions - Object containing properties related to which user is requesting the metadata countEOSException - error result explaining what went wrong if the input was invalidcopyFileMetadataAtIndex(EOS_PlayerDataStorage_CopyFileMetadataAtIndexOptions)public EOS_PlayerDataStorage_FileMetadata copyFileMetadataAtIndex(EOS_PlayerDataStorage_CopyFileMetadataAtIndexOptions copyFileMetadataOptions) throws EOSException
copyFileMetadataOptions - Object containing properties related to which user is requesting metadata, and at what indexEOSException - error result explaining what went wrong if the requested metadata isn't cachedgetFileMetadataCount(EOS_PlayerDataStorage_GetFileMetadataCountOptions),
EOS_PlayerDataStorage_FileMetadata.release()public void duplicateFile(EOS_PlayerDataStorage_DuplicateFileOptions duplicateOptions, com.sun.jna.Pointer clientData, EOS_PlayerDataStorage_OnDuplicateFileCompleteCallback completionCallback)
duplicateOptions - Object containing properties related to which user is duplicating the file, and what the source and destination file names areclientData - Optional pointer to help clients track this request, that is returned in the completion callbackcompletionCallback - This function is called when the duplicate operation completespublic void deleteFile(EOS_PlayerDataStorage_DeleteFileOptions deleteOptions, com.sun.jna.Pointer clientData, EOS_PlayerDataStorage_OnDeleteFileCompleteCallback completionCallback)
deleteOptions - Object containing properties related to which user is deleting the file, and what file name isclientData - Optional pointer to help clients track this request, that is returned in the completion callbackcompletionCallback - This function is called when the delete operation completespublic EOS_PlayerDataStorageFileTransferRequest readFile(EOS_PlayerDataStorage_ReadFileOptions readOptions, com.sun.jna.Pointer clientData, EOS_PlayerDataStorage_OnReadFileCompleteCallback completionCallback)
readOptions - Object containing properties related to which user is opening the file, what the file's name is, and related mechanisms for copying the dataclientData - Optional pointer to help clients track this request, that is returned in associated callbackscompletionCallback - This function is called when the read operation completesEOS_PlayerDataStorageFileTransferRequest.release()public EOS_PlayerDataStorageFileTransferRequest writeFile(EOS_PlayerDataStorage_WriteFileOptions writeOptions, com.sun.jna.Pointer clientData, EOS_PlayerDataStorage_OnWriteFileCompleteCallback completionCallback)
writeOptions - Object containing properties related to which user is writing the file, what the file's name is, and related mechanisms for writing the dataclientData - Optional pointer to help clients track this request, that is returned in associated callbackscompletionCallback - This function is called when the write operation completesEOS_PlayerDataStorageFileTransferRequest.release()public EOS_EResult deleteCache(EOS_PlayerDataStorage_DeleteCacheOptions options, com.sun.jna.Pointer clientData, EOS_PlayerDataStorage_OnDeleteCacheCompleteCallback completionCallback)
options - Object containing properties related to which user is deleting cacheclientData - Optional pointer to help clients track this request, that is returned in associated callbackscompletionCallback - This function is called when the delete cache operation completesEOS_EResult.EOS_Success if the operation was started correctly, otherwise an error result explaining what went wrong