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 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

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