nn::boss::TaskStatusInfo Structurestruct TaskStatusInfo
{
s64 taskStartTime;
s64 stepStartTime;
TaskStateCode state;
TaskStateCode taskState;
TaskStateCode stateResume;
TaskServiceStatus serviceStatus;
bool serviceTerminated;
TaskResultCode resultCode;
u32 commErrorCode;
u32 execCount;
u32 pendingTime;
u32 remainTime;
u32 progress;
u32 dataSize;
u16 activeRate;
u16 requestRate;
u8 activeStep;
u8 priority;
char lastModified[MAX_LASTMODIFIED_LENGTH];
};
Definition of an internal structure that maintains attribute information for the TaskStatus class.
| taskStartTime | Scheduled task start time, based on a calendar beginning 1 January 2000. Units are seconds. | |
|---|---|---|
| stepStartTime | Scheduled task start time, based on a calendar beginning 1 January 2000. Units are seconds. (This is provided for future extensibility and cannot be used.) | |
| state | Task state information. | |
| taskState | Internal task state information. | |
| stateResume | Internal task state information used upon task resumption. | |
| serviceStatus | Status of the service pointed to by the URL specified in the task attributes. | |
| serviceTerminated | Availability flag of the service pointed to by the URL specified in the task attributes. | |
| resultCode | Task result code. | |
| commErrorCode | Communications error code during task execution. | |
| execCount | Task execution count. | |
| pendingTime | Time elapsed since scheduled task start. | |
| remainTime | Time remaining until task execution. (This is provided for future extensibility and cannot be used.) | |
| progress | Number of bytes downloaded. | |
| dataSize | Total number of bytes to download from specified URL. | |
| activeRate | Average execution rate. (This is provided for future extensibility and cannot be used.) | |
| requestRate | Average communication request rate. (This is provided for future extensibility and cannot be used.) | |
| activeStep | Currently running task step ID. | |
| priority | Priority of the currently running task. | |
| lastModified | Last update time, as returned in the HTTP response header. |
CONFIDENTIAL