Class EOS_PlayerDataStorage_ReadFileOptions
java.lang.Object
com.sun.jna.Structure
host.anzo.eossdk.eos.sdk.playerdatastorage.options.EOS_PlayerDataStorage_ReadFileOptions
- Direct Known Subclasses:
EOS_PlayerDataStorage_ReadFileOptions.ByReference,EOS_PlayerDataStorage_ReadFileOptions.ByValue
@FieldOrder({"ApiVersion","LocalUserId","Filename","ReadChunkLengthBytes","ReadFileDataCallback","FileTransferProgressCallback"})
public class EOS_PlayerDataStorage_ReadFileOptions
extends com.sun.jna.Structure
- Since:
- 8/22/2023
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classNested classes/interfaces inherited from class com.sun.jna.Structure
com.sun.jna.Structure.FieldOrder, com.sun.jna.Structure.StructField -
Field Summary
FieldsModifier and TypeFieldDescriptionintAPI Version: Set this to EOS_PLAYERDATASTORAGE_READFILE_API_LATEST.static final intThe file name to read; this file must already existOptional callback function to be informed of download progress, if the file is not already locally cached; if provided, this will be called at least once before completion if the request is successfully startedThe Product User ID of the local user who is reading the requested fileintThe maximum amount of data in bytes should be available to read in a single EOS_PlayerDataStorage_OnReadFileDataCallback callCallback function that handles data as it comes in, and can stop the transfer earlyFields inherited from class com.sun.jna.Structure
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.sun.jna.Structure
allocateMemory, allocateMemory, autoAllocate, autoRead, autoRead, autoWrite, autoWrite, cacheTypeInfo, calculateSize, clear, createFieldsOrder, createFieldsOrder, createFieldsOrder, createFieldsOrder, dataEquals, dataEquals, ensureAllocated, equals, fieldOffset, getAutoRead, getAutoWrite, getFieldList, getFieldOrder, getFields, getNativeAlignment, getNativeSize, getNativeSize, getPointer, getStringEncoding, getStructAlignment, hashCode, newInstance, newInstance, read, readField, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setStringEncoding, size, sortFields, toArray, toArray, toString, toString, useMemory, useMemory, write, writeField, writeField, writeField
-
Field Details
-
EOS_PLAYERDATASTORAGE_READFILE_API_LATEST
public static final int EOS_PLAYERDATASTORAGE_READFILE_API_LATEST- See Also:
-
ApiVersion
public int ApiVersionAPI Version: Set this to EOS_PLAYERDATASTORAGE_READFILE_API_LATEST. -
LocalUserId
The Product User ID of the local user who is reading the requested file -
Filename
The file name to read; this file must already exist -
ReadChunkLengthBytes
public int ReadChunkLengthBytesThe maximum amount of data in bytes should be available to read in a single EOS_PlayerDataStorage_OnReadFileDataCallback call -
ReadFileDataCallback
Callback function that handles data as it comes in, and can stop the transfer early -
FileTransferProgressCallback
Optional callback function to be informed of download progress, if the file is not already locally cached; if provided, this will be called at least once before completion if the request is successfully started
-
-
Constructor Details
-
EOS_PlayerDataStorage_ReadFileOptions
public EOS_PlayerDataStorage_ReadFileOptions() -
EOS_PlayerDataStorage_ReadFileOptions
public EOS_PlayerDataStorage_ReadFileOptions(com.sun.jna.Pointer peer)
-