nn::boss::NsaDownloadAction::Initialize Member Function

Syntax

nn::Result Initialize(
     const char * pUrl
);

Parameters

Name Description
in pUrl Specifies the URL for download. (Do not specify more than 511 characters.)

Return Values

Returns the function's execution result. Returns one of the Result values listed below.
Value Description
Result::IsSuccess Initialization successful.
ResultInvalidUrl The URL string pointer is NULL or a zero-length string.
A value other than the above. Unexpected error (see boss_Result.h for error details).

Description

Configures NSA download settings. This initialization makes it possible to reuse objects.

It is not currently possible to determine whether the specified URL can actually be used. Note that any problems that occur when a task is actually run are treated as errors. Results may also vary depending on the access point to which you are connected.

This function can also be run to set the internal CA certificate required for communications with the Nintendo server for NADL tasks. If you want to set the internal CA certificate on your own, after running this function execute the ClearRootCaSetting function and then use SetRootCa.

Revision History

2010/09/16
Initial version.

CONFIDENTIAL