Class StcManager
Definition
- Namespace:
- Tizen.Network.Stc
- Assembly:
- Tizen.Network.Stc.dll
A class which is used to manage Smart Traffic control (Stc).
C#Copypublic static class StcManager
- Inheritance
-
StcManager
Methods
View Source
GetStatisticsAsync(StatisticsFilter)
Gets statistics information of applications that used network in between specified timestamps and matches the given StatisticsFilter, asynchronously.
Declaration
C#Copypublic static Task<IEnumerable<NetworkStatistics>> GetStatisticsAsync(StatisticsFilter filter)
Parameters
Type | Name | Description |
---|---|---|
StatisticsFilter | filter | The StatisticsFilter object. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<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. |
UnauthorizedAccessException | Thrown when the permission is denied. |