Show / Hide Table of Contents

    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
    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
    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.

    API Level: 6
    Privilege Level: public
    Privilege: http://tizen.org/privilege/network.get
    Feature: http://tizen.org/feature/network.traffic_control
    • View Source
    Back to top Copyright © 2016-2022 Samsung
    Generated by DocFX