nn::boss::GetOwnNsDataIdList Functionnn::Result GetOwnNsDataIdList( u32 dataType, NsDataIdList * pNsDataId );
| 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. |
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 |
Either the session is not initialized or there are incompatible permissions. This Result is returned if this function is called before the Initialize or the InitializePriviledged function is called. Always call the Initialize or InitializePrivileged function first when you use the BOSS library. |
| A value other than the above. | Unexpected error (see boss_Result.h for error details). |
Excludes the shared NS data and gets the application's list of 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. 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.
CONFIDENTIAL