nn::boss::TaskAction::GetProperty Member Function

Syntax

virtual nn::Result GetProperty(
     PropertyType type,
     void * pValue,
     size_t size
);

Arguments

Name Description
in type Specifies the property identifier.
in pValue Specifies the value.
in size Specifies the value size.

Return Values

Returns the function's execution result. Returns one of the Result values listed below.
Value Description
ResultSuccess Retrieval successful.
ResultInvalidPropertyValue The property value pointer is NULL.
ResultInvalidPropertyType The property type is not supported.
A value other than the above. Unexpected error (see boss_Result.h for error details).

Description

Gets a property value from the class.

It can be used for the following properties. Call this function after allocating memory for the description's data type. Identifier: Type
ACTION_URL: char url[MAX_URL_LENGTH]
ACTION_OFFSET: u32
ACTION_FILEPATH: char filepath [MAX_FILEPATH_LENGTH]
ACTION_FILEPATH_W: wchar_t filePathW[MAX_FILEPATH_LENGTH]
ACTION_FILE_HANDLE: nn::Handle
ACTION_HTTP_HEADER: struct httpRequestHeader[MAX_HTTP_HEADER]
ACTION_CLIENT_CERT: u8
ACTION_ROOT_CA: u8
ACTION_AP_INFO: ApInfoType
SIGNAL_TASK_EVENT: nn::os::Event*

Revision History

2010/09/16
Initial version.

CONFIDENTIAL