nn::boss::GetNewArrivalFlag Function

Syntax

nn::Result GetNewArrivalFlag(
     bool * pFlag
);

Parameters

Name Description
out pFlag Returns true if there is newly arrived NS data.

Return Values

Returns the function's execution result. Returns one of the Result values listed below.
Value Description
Result::IsSuccess Retrieval successful.
ResultInvalidNewArrivalFlag The pointer to the new arrival flag is NULL.
ResultStorageNotFound The BOSS storage corresponding to the appropriate application ID is not registered. Please check if the BOSS storage is registered.
ResultIpcNotSessionInitialized The session has not been initialized.
This Result is returned if this function is called before the Initialize function is called. Always call the Initialize function before using the BOSS library.
A value other than the above. Unexpected error (see boss_Result.h for error details).

Description

Checks if new NS data has been downloaded.
However, the new arrival flag does not change if it is not set by the downloaded NS data.

When BOSS storage is not shared, the NS data list can be acquired using GetNewDataNsDataIdList.
If storage is shared, a list that contains only NS data addressed to the local application can be acquired by using GetOwnNewDataNsDataIdList. When the NS data list for the above newly arrived NS data is acquired, this new arrival flag is cleared.

Revision History

2010/09/16
Initial version.

CONFIDENTIAL