nn::boss::DataStoreUploadAction::AddDstPrincipalId Member Functionnn::Result AddDstPrincipalId( u32 principalId );
| Name | Description | |
|---|---|---|
| in | principalId |
Specifies the data send destination ID. |
Result values listed below.| Value | Description |
|---|---|
Result::IsSuccess |
Set successfully. |
ResultInvalidMaxDataStoreDst |
The DataStore data transmission destination registration count exceeds the maximum. |
| A value other than the above. | Unexpected error (see boss_Result.h for error details). |
Adds a destination to send data.
Specify the principal ID used by friend presence features as the recipient for data sent with DataStore. (For more details, see the documentation in the NEX library.)
You cannot register more than the number of recipients defined by nn::boss::MAX_DST_PRINCIPAL_ID.
When nn::boss::DSTKIND_FRIEND is specified as dstKind to the DataStoreUploadAction::Initialize function, data is uploaded to all friends regardless of the recipients added by this function.
CONFIDENTIAL