/**
* @brief Initializes STC (Smart Traffic Control).
+ * @details This function initializes the Smart Traffic
+ * Control (STC) handle and prepares it for use. It is mandatory
+ * to call this function before using any other STC functions.
* @since_tizen 4.0
* @privlevel public
* @privilege %http://tizen.org/privilege/network.get
/**
* @brief Deinitializes STC.
+ * @details This function releases the resources associated
+ * with the given STC handle. It should be called after all STC
+ * operations are completed to clean up the system resources.
* @since_tizen 4.0
*
* @param[in] stc The STC handle
/**
* @brief Starts to get statistical information based on the rules asynchronously.
+ * @details This function initiates the process of gathering
+ * statistical information based on the specified rules. It runs
+ * in an asynchronous manner, meaning that the function returns
+ * immediately and the results are provided later via the
+ * callback function.
*
* @since_tizen 5.5
* @privlevel public
/**
* @brief Gets all statistical information.
+ * @details This function retrieves all statistical
+ * information stored in the given handle and iterates over each
+ * entry, invoking the provided callback function for each item.
+ * The callback function can then process the individual
+ * statistics as needed.
*
* @since_tizen 5.5
*
/**
* @brief Creates the statistics rule handle.
+ * @details This function creates a new statistics rule handle
+ * which can be used to specify criteria for gathering
+ * statistical information. The handle is initially empty and
+ * must be configured with the desired rules before being used
+ * with other STC functions.
* @since_tizen 4.0
* @remarks You must release @a rule using stc_stats_rule_destroy().
*
/**
* @brief Destroys the statistics rule handle.
+ * @details This function releases the resources associated
+ * with the given statistics rule handle. It should be called
+ * after the handle is no longer needed to clean up the system
+ * resources.
* @since_tizen 4.0
*
* @param[in] rule The statistics rule handle
/**
* @brief Sets the application ID for statistics rule.
+ * @details This function sets the application ID for the
+ * given statistics rule handle. The application ID specifies
+ * which application's traffic statistics should be gathered
+ * according to the rule.
* @since_tizen 4.0
*
* @param[in] rule The statistics rule handle
/**
* @brief Sets the time interval for statistics rule.
+ * @details This function sets the time interval for the given
+ * statistics rule handle. The time interval specifies the range
+ * of time during which the traffic statistics should be gathered
+ * according to the rule.
* @since_tizen 4.0
*
* @param[in] rule The statistics rule handle
/**
* @brief Sets the interface type for statistics rule.
+ * @details This function sets the interface type for the
+ * given statistics rule handle. The interface type specifies
+ * which network interfaces' traffic statistics should be
+ * gathered according to the rule.
* @since_tizen 4.0
*
* @param[in] rule The stats rule handle
/**
* @brief Sets the time period for statistics rule.
+ * @details This function sets the time period for the given
+ * statistics rule handle. The time period specifies the
+ * frequency at which the traffic statistics should be gathered
+ * according to the rule.
* @since_tizen 4.0
*
* @param[in] rule The statistics rule handle
/**
* @brief Gets the application ID for statistics rule.
+ * @details This function retrieves the application ID that
+ * has been set for the given statistics rule handle. The
+ * application ID specifies which application's traffic
+ * statistics should be gathered according to the rule.
* @since_tizen 4.0
* @remarks You must release @a app_id using free().
*
/**
* @brief Gets the interface type for statistics rule.
+ * @details This function retrieves the interface type that
+ * has been set for the given statistics rule handle. The
+ * interface type specifies which network interfaces' traffic
+ * statistics should be gathered according to the rule.
* @since_tizen 4.0
*
* @param[in] rule The statistics rule handle
/**
* @brief Gets the time period for statistics rule.
+ * @details This function retrieves the time period that has been
+ * set for the given statistics rule handle. The time period
+ * specifies the frequency at which the traffic statistics should
+ * be gathered according to the rule.
* @since_tizen 4.0
*
* @param[in] rule The statistics rule handle
/**
* @brief Clones the statistics info handle.
+ * @details This function creates a new statistics info handle
+ * that is a copy of the original statistics info handle. The
+ * cloned handle can be used independently of the original handle.
* @since_tizen 5.5
* @remarks You must release @a cloned using stc_stats_info_destroy().
*
/**
* @brief Destroys the statistics info handle.
+ * @details This function releases all resources allocated for
+ * the given statistics info handle. After calling this function,
+ * the handle becomes invalid and cannot be used further.
* @since_tizen 5.5
*
* @param[in] info The statistics info handle
/**
* @brief Gets the application ID from statistics information.
+ * @details This function retrieves the application ID that
+ * corresponds to the given statistics information handle. The
+ * application ID indicates which application's traffic
+ * statistics are contained within the handle.
* @since_tizen 4.0
* @remarks You must release @a app_id using free().
*
/**
* @brief Gets the interface name from statistics information.
+ * @details This function retrieves the interface name that
+ * corresponds to the given statistics information handle. The
+ * interface name indicates which network interface's traffic
+ * statistics are contained within the handle.
* @since_tizen 4.0
* @remarks You must release @a iface_name using free().
*
/**
* @brief Gets the time interval from statistics information.
+ * @details This function retrieves the time interval that
+ * corresponds to the given statistics information handle. The
+ * time interval indicates the range of time during which the
+ * traffic statistics were gathered.
* @since_tizen 4.0
*
* @param[in] info The statistics information handle
/**
* @brief Gets the interface type from statistics information.
+ * @details This function retrieves the interface type that
+ * corresponds to the given statistics information handle. The
+ * interface type indicates the type of network interface whose
+ * traffic statistics are contained within the handle.
* @since_tizen 4.0
*
* @param[in] info The statistics information handle
/**
* @brief Gets the counters from statistics information.
+ * @details This function retrieves the traffic counters that
+ * correspond to the given statistics information handle. The
+ * traffic counters indicate the amount of data transmitted and
+ * received over the network interface during the specified time
+ * interval.
* @since_tizen 4.0
*
* @param[in] info The statistics information handle
/**
* @brief Gets the roaming type from statistics information.
+ * @details This function retrieves the roaming type that
+ * corresponds to the given statistics information handle. The
+ * roaming type indicates whether the traffic statistics were
+ * gathered while the device was connected to a cellular network
+ * or not.
* @since_tizen 4.0
*
* @param[in] info The statistics information handle
/**
* @brief Gets the protocol type from statistics information.
+ * @details This function retrieves the protocol type that
+ * corresponds to the given statistics information handle. The
+ * protocol type indicates the specific network protocol whose
+ * traffic statistics are contained within the handle.
* @since_tizen 4.0
*
* @param[in] info The statistics information handle
/**
* @brief Gets the process state from statistics information.
+ * @details This function retrieves the process state that
+ * corresponds to the given statistics information handle. The
+ * process state indicates the current status of the application
+ * whose traffic statistics are contained within the handle.
* @since_tizen 4.0
*
* @param[in] info The statistics information handle