Notification.Builder.SetColor(Int32) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
設定 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 所創建與分享的作品,並依授權條款所描述的使用進行修改。