Notification.Icon Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This field was deprecated in API level 23.
[Android.Runtime.Register("icon")]
public int Icon { get; set; }
[<Android.Runtime.Register("icon")>]
member this.Icon : int with get, set
Property Value
- Attributes
Remarks
This field was deprecated in API level 23. Use Builder.setSmallIcon(Icon) instead.
The resource id of a drawable to use as the icon in the status bar.
Android reference for android.app.Notification.icon.
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.