PackageManager.IsDefaultApplicationIcon(Drawable) Method

Definition

Returns if the provided drawable represents the default activity icon provided by the system.

[Android.Runtime.Register("isDefaultApplicationIcon", "(Landroid/graphics/drawable/Drawable;)Z", "GetIsDefaultApplicationIcon_Landroid_graphics_drawable_Drawable_Handler", ApiSince=30)]
public virtual bool IsDefaultApplicationIcon (Android.Graphics.Drawables.Drawable drawable);
[<Android.Runtime.Register("isDefaultApplicationIcon", "(Landroid/graphics/drawable/Drawable;)Z", "GetIsDefaultApplicationIcon_Landroid_graphics_drawable_Drawable_Handler", ApiSince=30)>]
abstract member IsDefaultApplicationIcon : Android.Graphics.Drawables.Drawable -> bool
override this.IsDefaultApplicationIcon : Android.Graphics.Drawables.Drawable -> bool

Parameters

drawable
Drawable

Returns

Boolean

true if the drawable represents the default activity icon, false otherwise

Attributes

Remarks

Java documentation for android.content.pm.PackageManager.isDefaultApplicationIcon(android.graphics.drawable.Drawable).

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