Class StcManager

Definition

Namespace:
Tizen.Network.Stc
Assembly:
Tizen.Network.Stc.dll

A class which is used to manage Smart Traffic control (Stc).

C#
Copy
public static class StcManager
Inheritance
System.Object
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#
Copy
public 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.

API Level: 6
Privilege Level: public
Privilege: http://tizen.org/privilege/network.get
Feature: http://tizen.org/feature/network.traffic_control