nn::boss::GetNewArrivalFlag Function

Syntax

nn::Result GetNewArrivalFlag(
     bool * pFlag
);

Arguments

Name Description
out pFlag Returns true if there is new NS content.

Return Values

Returns the function's execution result. Returns one of the Result values listed below.
Value Description
ResultSuccess Retrieval successful.
ResultInvalidNewArrivalFlag The pointer to the new arrival flag 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).

Description

Checks if new NS content has been downloaded. However, the new arrival flag does not change if it is not set by the downloaded NS data. If you are not sharing storage, you can use the GetNewDataNsDataIdList function to get a list of NS data. If you are sharing storage, you can use the GetOwnNewDataNsDataIdList function to get a list of NS data for only your application. The new arrival flag is cleared when you get these lists.

Revision History

2010/09/16
Initial version.

CONFIDENTIAL