语言

Notification.ProgressStyle.Segment.SetColor(Color) 方法

定义

此段的可选颜色

[Android.Runtime.Register("setColor", "(I)Landroid/app/Notification$ProgressStyle$Segment;", "", ApiSince=36)]
public Android.App.Notification.ProgressStyle.Segment SetColor(Android.Graphics.Color color);
[<Android.Runtime.Register("setColor", "(I)Landroid/app/Notification$ProgressStyle$Segment;", "", ApiSince=36)>]
member this.SetColor : Android.Graphics.Color -> Android.App.Notification.ProgressStyle.Segment

参数

color
Color

int

返回

此 Android.App.Notification.ProgressStyle.Segment 实例允许链接调用。

特性

注解

此段的可选颜色

Android 参考。android.app.Notification.ProgressStyle.Segment.setColor

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于