Class StcManager
Definition
- Namespace:
- Tizen.Network.Stc
- Assembly:
- Tizen.Network.Stc.dll
A class which is used to manage Smart Traffic control (Stc).
public static class StcManager
- Inheritance
-
StcManager
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 |
---|---|
Task<IEnumerable<NetworkStatistics>> | A list of the NetworkStatistics objects. |
Exceptions
Type | Condition |
---|---|
InvalidOperationException | Thrown when the method failed due to an invalid operation. |
ArgumentException | Thrown when the method is provided with invalid argument. |
NotSupportedException | Thrown when the Stc is not supported. |
UnauthorizedAccessException | Thrown when the permission is denied. |