nn::boss::GetOwnNewDataNsDataIdList Function

Syntax

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

Arguments

Name Description
in dataType Specifies the data type. (Use DATA_TYPE_ALL to specify all data types. Note that this excludes the data type for Notifications because this data cannot be obtained from the application.)
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 Size of NsDataIdList is insufficient (could not store all the NSD serial IDs). Continue calling repeatedly 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 any storage has been registered yet.
ResultIpcNotSessionInitialized The session has not been initialized. This result is returned if this function is called before the Initialize function. Always call the Initialize function first thing when you use the BOSS library.
A value other than the above. Unexpected error (see boss_Result.h for error details).

Description

Excludes the shared NS data and gets the application's list of newly arrived NS content from the expanded save region registered as storage. In other words, only NS data for the invoked application is included in the list, even if there is shared NS data.

Revision History

2010/09/16
Initial version.

CONFIDENTIAL