語言

Notification.Builder.SetColor(Int32) 方法

定義

設定 Notification.color。

[Android.Runtime.Register("setColor", "(I)Landroid/app/Notification$Builder;", "GetSetColor_IHandler")]
public virtual Android.App.Notification.Builder SetColor(int argb);
[<Android.Runtime.Register("setColor", "(I)Landroid/app/Notification$Builder;", "GetSetColor_IHandler")>]
abstract member SetColor : int -> Android.App.Notification.Builder
override this.SetColor : int -> Android.App.Notification.Builder

參數

argb
Int32

int:使用點綴色

傳回

這個 Android.App.Notification.Builder 實例,允許通話串接。

屬性

備註

設定 Notification.color。

Android 參考資料。android.app.Notification.Builder.setColor

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於