Android.App.Usage.UsageStats.Add Method
Add the statistics from the right Android.App.Usage.UsageStats to the left.

Syntax

[Android.Runtime.Register("add", "(Landroid/app/usage/UsageStats;)V", "")]
public void Add (UsageStats right)

Parameters

right
The Android.App.Usage.UsageStats object to merge into this one.

Exceptions

TypeReason
Java.Lang.IllegalArgumentExceptionif the package names of the two Android.App.Usage.UsageStats objects are different.

Remarks

Add the statistics from the right Android.App.Usage.UsageStats to the left. The package name for both Android.App.Usage.UsageStats objects must be the same.

[Android Documentation]

Requirements

Namespace: Android.App.Usage
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0