Język

Notification.ProgressStyle.Segment.SetColor(Color) Method

Definition

Optional color of this Segment

[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

Parameters

color
Color

int

Returns

This Android.App.Notification.ProgressStyle.Segment instance, allowing calls to be chained.

Attributes

Remarks

Optional color of this Segment

Android reference for android.app.Notification.ProgressStyle.Segment.setColor.

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