Condividi tramite


Notification.Icon Property

Definition

The resource id of a drawable to use as the icon in the status bar.

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

Property Value

Attributes

Remarks

The resource id of a drawable to use as the icon in the status bar.

This member is deprecated. Use Builder#setSmallIcon(Icon) instead.

Java documentation 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.

Applies to