nn::boss::DataStoreUploadAction::Initialize Member Function

Syntax

nn::Result Initialize(
     u32 gameId,
     const wchar_t * pAccessKey,
     DstKind dstKind,
     u16 dataType,
     u16 period
);

nn::Result Initialize(
     u32 gameId,
     const wchar_t * pAccessKey,
     nn::Handle fileHandle,
     DstKind dstKind,
     u16 dataType,
     u16 period
);

List of Overloaded Member Functions

Initialize ( u32, const wchar_t *, DstKind, u16, u16 ) Used to configure DataStore upload.
Initialize ( u32, const wchar_t *, nn::Handle, DstKind, u16, u16 ) Use to configure the settings attached to the DataStore upload file handle.

Description of Initialize ( u32, const wchar_t *, DstKind, u16, u16 )

When registering tasks, use the following functions. For normal execution: nn::Result RegisterTask(Task* pTask, TaskPolicy* pPolicy, TaskAction* pAction, const char* pFilePath, TaskOption* pOption=NULL, u8 taskStep=DEFAULT_STEP_ID). For immediate execution: nn::Result RegisterImmediateTask(Task* pTask, TaskAction* pAction, const char* pFilePath, TaskPolicy* pPolicy=NULL, TaskOption* pOption=NULL, u8 taskStep=DEFAULT_STEP_ID);.

Description of Initialize ( u32, const wchar_t *, nn::Handle, DstKind, u16, u16 )

Special version for configuring the file handle. Normally you should use Initialize in the following way. Initialize(u32 gameId, const wchar_t* pAccessKey, DstKind dstKind, u16 dataType, u16 period)
Even if the DataStoreUploadAction::Initialize function has already been run on an object, this function can be re-run to allow the object to be reused.


CONFIDENTIAL