ActivityManager.TaskDescription.Icon Property

Definition

This method was deprecated in API level 30.

public virtual Android.Graphics.Bitmap Icon { [Android.Runtime.Register("getIcon", "()Landroid/graphics/Bitmap;", "GetGetIconHandler")] get; }
[<get: Android.Runtime.Register("getIcon", "()Landroid/graphics/Bitmap;", "GetGetIconHandler")>]
member this.Icon : Android.Graphics.Bitmap

Property Value

The in-memory or loaded icon that represents the current state of this task.

Attributes

Remarks

This method was deprecated in API level 30. This call is no longer supported. The caller should keep track of any icons it sets for the task descriptions internally.

Android reference for android.app.ActivityManager.TaskDescription.getIcon.

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