DataUsageGranularity DataUsageGranularity DataUsageGranularity DataUsageGranularity Enum

Defines levels of granularity used when retrieving data usage statistics with GetNetworkUsageAsync(DateTime, DateTime, DataUsageGranularity, NetworkUsageStates).

Syntax

Declaration

public enum DataUsageGranularitypublic enum DataUsageGranularityPublic Enum DataUsageGranularitypublic enum DataUsageGranularity

Fields

PerDay
PerDay
PerDay
PerDay

Provide data usage per day.

PerHour
PerHour
PerHour
PerHour

Provide data usage per hour.

PerMinute
PerMinute
PerMinute
PerMinute

Provide data usage per minute.

Total
Total
Total
Total

Provide data usage overall.

Device family

Windows 10 (introduced v10.0.10240.0)

API contract

Windows.Foundation.UniversalApiContract (introduced v1)

Attributes

Windows.Foundation.Metadata.ContractVersionAttribute

Details

Assembly

Windows.Networking.Connectivity.dll