This function is part of the TitleStorage Interface.
Query a specific file's metadata, such as file names, size, and a MD5 hash of the data. This is not required before a file may be opened. Once a file has
been queried, its metadata will be available by the EOS_TitleStorage_CopyFileMetadataAtIndex and EOS_TitleStorage_CopyFileMetadataByFilename functions.
See Also
EOS_TitleStorage_GetFileMetadataCount, EOS_TitleStorage_CopyFileMetadataAtIndex, EOS_TitleStorage_CopyFileMetadataByFilename
Parameters
TitleStorage.TitleStorageInterface.QueryFile
Parameter Type And Name
|
Usage Information
|
QueryFileOptions options
|
Object containing properties related to which user is querying files, and what file is being queried
|
object clientData
|
Optional pointer to help clients track this request, that is returned in the completion callback
|
OnQueryFileCompleteCallback completionCallback
|
This function is called when the query operation completes
|
This function is asynchronous; the EOS SDK guarantees that your callback (the CompletionCallback
parameter) will run when the operation completes, regardless of whether it succeeds or fails. Use the void*
parameter to pass any contextual information the callback may need in order to react properly. Relevant information can be copied from the EOS SDK's cache while the callback function is running. You do not need to remove the callback function.
Because this function is asynchronous, it employs a callback of type EOS_TitleStorage_OnQueryFileCompleteCallback to report the results of its operation.
Callback for when EOS_TitleStorage_QueryFile completes
Callback Parameters
TitleStorage.OnQueryFileCompleteCallback
Parameter Type And Name
|
Usage Information
|
QueryFileCallbackInfo data
|
|