nn::boss::GetNewDataNsDataIdList Function

Syntax

nn::Result GetNewDataNsDataIdList(
u32 dataType,
NsDataIdList * pNsDataId
);

Arguments

Name Description
in dataType Specifies the data type. (Use DATA_TYPE_ALL to specify all data types.)
out pNsDataId Specifies an object storing a list of content data.

Return Values

Returns the function's execution result. Returns one of the Result values listed below.
Value Description
ResultSuccess Retrieval successful.
ResultNsDataListSizeShortage Insufficient size for NsDataIdList (could not store all the NSD serial IDs); continue on and keep calling until you get all the NSD serial IDs.
ResultNsDataListUpdated The target NSD group for BOSS storage was updated since the last time a list was obtained.
ResultInvalidNsDataIdList The pointer to NS data list information is NULL.
ResultStorageNotFound Storage has not been registered for the corresponding application ID. Confirm whether storage registration is complete.
ResultIpcNotSessionInitialized Either a session had not been initialized or there were incompatible permissions. This Result is returned if this function is called before either the Initialize or the InitializePriviledged function is called. When using the BOSS library, always begin by calling either the Initialize or the InitializePriviledged function.
A value other than the above. Unexpected error (see boss_Result.h for error details).

Description

Specifies the data type and gets a list of NS new arrival content from the registered storage expanded save region. The new arrival flag is cleared if this function is used to get all lists. The return value is ER_NSDATA_LIST_SIZE_SHORTAGE if the entire list could not be obtained. If you call this function more than once and an update in the list's content, such as a new download, is detected, ER_NSDATA_LIST_UPDATED is returned and you must start over. In this case, re-call this function after initializing the instance of NsDataIdList.

Revision History

2010/09/16
Initial version.

CONFIDENTIAL