Notification.ExtraSmallIcon Field

Definition

This constant was deprecated in API level 26.

[Android.Runtime.Register("EXTRA_SMALL_ICON")]
public const string ExtraSmallIcon;
[<Android.Runtime.Register("EXTRA_SMALL_ICON")>]
val mutable ExtraSmallIcon : string

Field Value

Implements

Attributes

Remarks

This constant was deprecated in API level 26. Use getSmallIcon(), which supports a wider variety of icon sources.

extras key: this is the resource ID of the notification's main small icon, as supplied to Builder.setSmallIcon(int).

Android reference for android.app.Notification.EXTRA_SMALL_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