nn::boss::TaskPolicy::Initialize Member Functionnn::Result Initialize( u32 interval, u32 count );
| Name | Description | |
|---|---|---|
| in | interval | Specifies the execution interval for a task. The units are hours. (Values from 1 hour to 168 hours are valid.) |
| in | count | Specifies the remaining execution count for a task. |
Result values listed below. | Value | Description |
|---|---|
Result::IsSuccess |
Initialization successful. |
| A value other than the above. | Unexpected error (see boss_Result.h for error details). |
Configures the policy settings. This initialization makes it possible to reuse objects.
This initialization sets the available TASK_PERMISSION setting for SetProperty to the default value of TASK_PERMISSION_IN_PARENTAL_CONTROL (task that can run even when Parental Controls have restricted "Online Interaction").
CONFIDENTIAL