Notification.MetricStyle.SetMetrics(IList<Notification.Metric>) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- metrics
- IList<Notification.Metric>
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.