public class EOS_TitleStorage_Interface
extends com.sun.jna.PointerType
| Constructor and Description |
|---|
EOS_TitleStorage_Interface() |
EOS_TitleStorage_Interface(com.sun.jna.Pointer address) |
| Modifier and Type | Method and Description |
|---|---|
EOS_TitleStorage_FileMetadata |
copyFileMetadataAtIndex(EOS_TitleStorage_CopyFileMetadataAtIndexOptions options)
Get the cached copy of a file's metadata by index.
|
EOS_TitleStorage_FileMetadata |
copyFileMetadataByFilename(EOS_TitleStorage_CopyFileMetadataByFilenameOptions options)
Create a cached copy of a file's metadata by filename.
|
EOS_EResult |
deleteCache(EOS_TitleStorage_DeleteCacheOptions options,
com.sun.jna.Pointer clientData,
EOS_TitleStorage_OnDeleteCacheCompleteCallback completionCallback)
Clear previously cached file data.
|
int |
getFileMetadataCount(EOS_TitleStorage_GetFileMetadataCountOptions options)
Get the count of files we have previously queried information for and files we have previously read from / written to.
|
void |
queryFile(EOS_TitleStorage_QueryFileOptions options,
com.sun.jna.Pointer clientData,
EOS_TitleStorage_OnQueryFileCompleteCallback completionCallback)
Query a specific file's metadata, such as file names, size, and a MD5 hash of the data.
|
void |
queryFileList(EOS_TitleStorage_QueryFileListOptions options,
com.sun.jna.Pointer clientData,
EOS_TitleStorage_OnQueryFileListCompleteCallback completionCallback)
Query the file metadata, such as file names, size, and a MD5 hash of the data, for all files available for current user based on their settings (such as game role) and tags provided.
|
EOS_TitleStorageFileTransferRequest |
readFile(EOS_TitleStorage_ReadFileOptions options,
com.sun.jna.Pointer clientData,
EOS_TitleStorage_OnReadFileCompleteCallback completionCallback)
Retrieve the contents of a specific file, potentially downloading the contents if we do not have a local copy, from the cloud.
|
public EOS_TitleStorage_Interface(com.sun.jna.Pointer address)
public EOS_TitleStorage_Interface()
public void queryFile(EOS_TitleStorage_QueryFileOptions options, com.sun.jna.Pointer clientData, EOS_TitleStorage_OnQueryFileCompleteCallback completionCallback)
options - 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_TitleStorage_GetFileMetadataCountOptions),
copyFileMetadataAtIndex(EOS_TitleStorage_CopyFileMetadataAtIndexOptions),
copyFileMetadataByFilename(EOS_TitleStorage_CopyFileMetadataByFilenameOptions)public void queryFileList(EOS_TitleStorage_QueryFileListOptions options, com.sun.jna.Pointer clientData, EOS_TitleStorage_OnQueryFileListCompleteCallback completionCallback)
options - Object containing properties related to which user is querying files and the list of tagsclientData - 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_TitleStorage_GetFileMetadataCountOptions),
copyFileMetadataAtIndex(EOS_TitleStorage_CopyFileMetadataAtIndexOptions),
copyFileMetadataByFilename(EOS_TitleStorage_CopyFileMetadataByFilenameOptions)public EOS_TitleStorage_FileMetadata copyFileMetadataByFilename(EOS_TitleStorage_CopyFileMetadataByFilenameOptions options) throws EOSException
options - Object containing properties related to which user is requesting metadata, and for which filenameEOSException - on errorpublic int getFileMetadataCount(EOS_TitleStorage_GetFileMetadataCountOptions options)
options - Object containing properties related to which user is requesting the metadata countcopyFileMetadataAtIndex(EOS_TitleStorage_CopyFileMetadataAtIndexOptions)public EOS_TitleStorage_FileMetadata copyFileMetadataAtIndex(EOS_TitleStorage_CopyFileMetadataAtIndexOptions options) throws EOSException
options - Object containing properties related to which user is requesting metadata, and at what indexEOSExceptiongetFileMetadataCount(EOS_TitleStorage_GetFileMetadataCountOptions),
EOS_TitleStorage_FileMetadata.release()public EOS_TitleStorageFileTransferRequest readFile(EOS_TitleStorage_ReadFileOptions options, com.sun.jna.Pointer clientData, EOS_TitleStorage_OnReadFileCompleteCallback completionCallback)
options - 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_TitleStorageFileTransferRequest.release()public EOS_EResult deleteCache(EOS_TitleStorage_DeleteCacheOptions options, com.sun.jna.Pointer clientData, EOS_TitleStorage_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