/*---------------------------------------------------------------------------*
Copyright (C) Nintendo. All rights reserved.
These coded instructions, statements, and computer programs contain
proprietary information of Nintendo of America Inc. and/or Nintendo
Company Ltd., and are protected by Federal copyright law. They may
not be disclosed to third parties or copied or duplicated in any form,
in whole or in part, without the prior written consent of Nintendo.
*---------------------------------------------------------------------------*/
#ifndef NN_BOSS_H_
#define NN_BOSS_H_
/*! @defgroup nn_boss SpotPass (BOSS) Library
@brief The BOSS library is provided for using the SpotPass service.
SpotPass is a service that automatically downloads or uploads data in the background while an application is running.
The Wii U system provides the SpotPass service. Applications can use this service through the BOSS library.
When an application registers a task with the BOSS library, it accesses the server at fixed intervals and downloads or uploads data.
Using this feature makes it possible to deliver notifications or application-specific extra data unnoticed without the user explicitly trying to retrieve data.
For an overview of BOSS, or for planning or operations information, see the Wii U Planning and Operations Manual: SpotPass.
@section caution Notes on Using the BOSS API
Execution times for system services such as BOSS may change because of the effect of other system services running at the same time.
The response times of BOSS API functions may also vary.
Remember these points when you create modules that use BOSS if BOSS API functions are called from processes that must complete within a certain time (such as processes executed in the main loop).
Do not call BOSS API functions directly from these processes.
In addition, frequent calls to BOSS API functions may delay other system services.
Avoid frequent calls to BOSS API functions, because such calls provide no value based on the BOSS services contents.
(Pay particular attention to the @ref nn::boss::Task::GetState and @ref nn::boss::Task::GetTurnState functions that are also used for polling.)
@{
*/
/*!
@namespace nn::boss
@brief Namespace for the SpotPass (BOSS) Library.
@defgroup nn_boss_result SpotPass (BOSS) Results
@brief A list of Result codes used by the SpotPass (BOSS) Library.
*/
//! @}
#ifdef __cplusplus
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#endif // #ifdef __cplusplus
#endif // NN_BOSS_H_