語言

Notification.Icon 屬性

定義

警告

deprecated

此欄位在 API 等級 23 中被棄用。

[Android.Runtime.Register("icon")]
[System.Obsolete("deprecated")]
public int Icon { get; set; }
[<Android.Runtime.Register("icon")>]
[<System.Obsolete("deprecated")>]
member this.Icon : int with get, set

屬性值

屬性

備註

此欄位在 API 等級 23 中被棄用。 改用 Builder.setSmallIcon(Icon) 來做。

一個繪製可圖的資源 ID,作為狀態列中的圖示。

Android 參考資料。android.app.Notification.icon

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

適用於