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 UWP 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 ProfileUsage
public struct ProfileUsage
Public Structure ProfileUsage
var profileUsage = {

   lastSyncTime: /* Your value */,

   usageInMegabytes: /* Your value */

}
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)
Capabilities
cellularDeviceControl cellularDeviceIdentity

Fields

LastSyncTime LastSyncTime LastSyncTime LastSyncTime

The last time UsageInMegabytes was updated.

This developer language is not supported.
This developer language is not supported.
This developer language is not supported.
This developer language is not supported.
Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
cellularDeviceControl cellularDeviceIdentity

UsageInMegabytes UsageInMegabytes UsageInMegabytes UsageInMegabytes

Updates the usage in megabytes.

This developer language is not supported.
This developer language is not supported.
This developer language is not supported.
This developer language is not supported.
Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
cellularDeviceControl cellularDeviceIdentity