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