ProfileUsage ProfileUsage ProfileUsage ProfileUsage Struct

Definition

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.

If you want to use this API and publish your app to the Store, you will need special approval. For more information, see the Special and restricted capabilities section under App capability declarations.

public : struct ProfileUsagepublic struct ProfileUsagePublic Structure ProfileUsage// You can use this struct in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Fields

LastSyncTime LastSyncTime LastSyncTime LastSyncTime

The last time UsageInMegabytes was updated.

public : field DateTime LastSyncTimepublic field DateTimeOffset LastSyncTimePublic Field LastSyncTime// You can use this field in JavaScript.
Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

UsageInMegabytes UsageInMegabytes UsageInMegabytes UsageInMegabytes

Updates the usage in megabytes.

public : field unsigned int UsageInMegabytespublic field uint UsageInMegabytesPublic Field UsageInMegabytes// You can use this field in JavaScript.
Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)