nn::boss::SetOptoutFlag Function

Syntax

nn::Result SetOptoutFlag(
     bool flag
);

Parameters

Name Description
in flag Specifies the OptOut flag.

Return Values

Returns the function's execution result. Returns one of the Result values listed below.
Value Description
Result::IsSuccess Set successfully.
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

Sets the OptOut flag.

If this flag is enabled, the notification data included in the NS archive is destroyed when the NADL task is executed.

Revision History

2010/09/16
Initial version.

CONFIDENTIAL