Class StcManager
Definition
- Assembly:
- Tizen.Network.Stc.dll
A class which is used to manage Smart Traffic control (Stc).
public static class StcManager
- Inheritance
-
objectStcManager
Methods
View SourceGetStatisticsAsync(StatisticsFilter)
Gets statistics information of applications that used network in between specified timestamps and matches the given StatisticsFilter, asynchronously.
Declaration
public static Task<IEnumerable<NetworkStatistics>> GetStatisticsAsync(StatisticsFilter filter)
Parameters
Type | Name | Description |
---|---|---|
StatisticsFilter | filter | The StatisticsFilter object. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<TResult><System.Collections.Generic.IEnumerable<T><NetworkStatistics>> | A list of the NetworkStatistics objects. |
Exceptions
Type | Condition |
---|---|
System.InvalidOperationException | Thrown when the method failed due to an invalid operation. |
System.ArgumentException | Thrown when the method is provided with invalid argument. |
System.NotSupportedException | Thrown when the Stc is not supported. |
System.UnauthorizedAccessException | Thrown when the permission is denied. |