Windows Dev Center

ProfileUsage structure

Used to update the usage of plan data.

Note  This functionality is only available to mobile operator apps and Windows Store apps given privileged access by mobile network operators. For more information, see Mobile Broadband: Windows Store device apps.

Syntax


var profileUsage = {
    lastSyncTime : /* Your value */,
    usageInMegabytes : /* Your value */
}

Members

The ProfileUsage structure has these fields.

FieldData typeDescription
LastSyncTime | lastSyncTime

Date [JavaScript] | System.DateTimeOffset [.NET] | Windows::Foundation::DateTime [C++]

The last time UsageInMegabytes was updated.

UsageInMegabytes | usageInMegabytes

Number [JavaScript] | System.UInt32 [.NET] | uint32 [C++]

Updates the usage in megabytes.

 

Requirements (Windows 10 device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.Networking.NetworkOperators
Windows::Networking::NetworkOperators [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.Networking.NetworkOperators
Windows::Networking::NetworkOperators [C++]

Metadata

Windows.winmd

Attributes

[Version(0x06020000)]

 

 

Show:
© 2015 Microsoft