Language

Notification.MetricStyle.SetMetrics(IList<Notification.Metric>) Method

Definition

Sets the list of Metric instances for this MetricStyle, replacing whatever was added before.

[Android.Runtime.Register("setMetrics", "(Ljava/util/List;)Landroid/app/Notification$MetricStyle;", "", ApiSince=37)]
public Android.App.Notification.MetricStyle SetMetrics(System.Collections.Generic.IList<Android.App.Notification.Metric> metrics);
[<Android.Runtime.Register("setMetrics", "(Ljava/util/List;)Landroid/app/Notification$MetricStyle;", "", ApiSince=37)>]
member this.SetMetrics : System.Collections.Generic.IList<Android.App.Notification.Metric> -> Android.App.Notification.MetricStyle

Parameters

Returns

Attributes

Remarks

Sets the list of Metric instances for this MetricStyle, replacing whatever was added before.

Android reference for android.app.Notification.MetricStyle.setMetrics.

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