Sdílet prostřednictvím


EventStats.Add(EventStats) Method

Definition

Add the statistics from the right EventStats to the left.

[Android.Runtime.Register("add", "(Landroid/app/usage/EventStats;)V", "", ApiSince=28)]
public void Add (Android.App.Usage.EventStats? right);
[<Android.Runtime.Register("add", "(Landroid/app/usage/EventStats;)V", "", ApiSince=28)>]
member this.Add : Android.App.Usage.EventStats -> unit

Parameters

right
EventStats

The EventStats object to merge into this one.

Attributes

Remarks

Add the statistics from the right EventStats to the left. The event type for both UsageStats objects must be the same.

Java documentation for android.app.usage.EventStats.add(android.app.usage.EventStats).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to