Class UsageStatistics

    Definition

    Namespace:
    Tizen.Context.AppHistory
    Assembly:
    Tizen.Context.dll

    This class provides APIs to query the application launch history.

    public class UsageStatistics : AppStatistics
    Inheritance
    object
    AppStatistics
    UsageStatistics

    Constructors

    View Source

    UsageStatistics()

    The default constructor of UsageStatistics class.

    Declaration
    public UsageStatistics()
    View Source

    UsageStatistics(SortOrderType)

    The constructor of UsageStatistics class.

    Declaration
    public UsageStatistics(UsageStatistics.SortOrderType order)
    Parameters
    Type Name Description
    UsageStatistics.SortOrderType order

    The criteria of the usage statistics sorted by.

    Properties

    View Source

    SortOrder

    Gets the criteria of usage statistics sorted by.

    Declaration
    public UsageStatistics.SortOrderType SortOrder { get; }
    Property Value
    Type Description
    UsageStatistics.SortOrderType

    The criteria of usage statistics sorted by.

    Methods

    View Source

    Query(DateTime, DateTime, uint)

    Retrieves a given type of usage statistics.

    Declaration
    public IReadOnlyList<UsageStatisticsData> Query(DateTime startTime, DateTime endTime, uint resultSize)
    Parameters
    Type Name Description
    DateTime startTime

    The start time of the data to be aggregated.

    DateTime endTime

    The end time of the data to be aggregated.

    uint resultSize

    The number of data records to be retrieved.

    Returns
    Type Description
    IReadOnlyList<><UsageStatisticsData>

    Usage statistics data retrieved.

    View Source

    Query(DateTime, DateTime)

    Retrieves a given type of usage statistics.

    Declaration
    public IReadOnlyList<UsageStatisticsData> Query(DateTime startTime, DateTime endTime)
    Parameters
    Type Name Description
    DateTime startTime

    The start time of the data to be aggregated.

    DateTime endTime

    The end time of the data to be aggregated.

    Returns
    Type Description
    IReadOnlyList<><UsageStatisticsData>

    Usage statistics data retrieved.

    Extension Methods

    EXamlExtensions.LoadFromEXamlByRelativePath<T>(T, string)
    Extensions.LoadFromXaml<TXaml>(TXaml, string)
    Extensions.LoadFromXaml<TXaml>(TXaml, Type)
    Extensions.LoadFromXamlFile<TXaml>(TXaml, string)
    • View Source
    Back to top Copyright © 2016-2025 Samsung
    Generated by DocFX