public class EOS_TitleStorageFileTransferRequest
extends com.sun.jna.PointerType
implements java.lang.AutoCloseable
| Modifier and Type | Field and Description |
|---|---|
static int |
EOS_TITLESTORAGE_FILENAME_MAX_LENGTH_BYTES
Maximum File Name Length in bytes
|
| Constructor and Description |
|---|
EOS_TitleStorageFileTransferRequest() |
EOS_TitleStorageFileTransferRequest(com.sun.jna.Pointer address) |
| Modifier and Type | Method and Description |
|---|---|
EOS_EResult |
cancelRequest()
Attempt to cancel this file request in progress.
|
void |
close() |
EOS_EResult |
getFilename(int filenameStringBufferSizeBytes,
java.nio.ByteBuffer outStringBuffer,
java.nio.IntBuffer outStringLength)
Get the file name of the file this request is for.
|
EOS_EResult |
getFileRequestState()
Get the current state of a file request.
|
void |
release() |
public static final int EOS_TITLESTORAGE_FILENAME_MAX_LENGTH_BYTES
public EOS_TitleStorageFileTransferRequest(com.sun.jna.Pointer address)
public EOS_TitleStorageFileTransferRequest()
public EOS_EResult getFileRequestState()
EOS_EResult.EOS_Success if complete and successful, EOS_RequestInProgress if the request is still in progress, or another state for failure.public EOS_EResult getFilename(int filenameStringBufferSizeBytes, java.nio.ByteBuffer outStringBuffer, java.nio.IntBuffer outStringLength)
filenameStringBufferSizeBytes - The maximum number of bytes that can be written to OutStringBufferoutStringBuffer - The buffer to write the NULL-terminated utf8 file name into, if successfuloutStringLength - How long the file name is (not including null terminator)EOS_EResult.EOS_Success if the file name was successfully written to OutFilenameBuffer, a failure result otherwiseEOS_TITLESTORAGE_FILENAME_MAX_LENGTH_BYTESpublic EOS_EResult cancelRequest()
public void release()
public void close()
throws java.lang.Exception
close in interface java.lang.AutoCloseablejava.lang.Exception