ActivityManager.TaskDescription.Builder.SetIcon(Int32) Method
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.
Set the drawable resource of the icon to use in the TaskDescription.
[Android.Runtime.Register("setIcon", "(I)Landroid/app/ActivityManager$TaskDescription$Builder;", "", ApiSince=33)]
public Android.App.ActivityManager.TaskDescription.Builder SetIcon(int iconRes);
[<Android.Runtime.Register("setIcon", "(I)Landroid/app/ActivityManager$TaskDescription$Builder;", "", ApiSince=33)>]
member this.SetIcon : int -> Android.App.ActivityManager.TaskDescription.Builder
Parameters
- iconRes
- Int32
int: A drawable resource of an icon that represents the current state of this activity.
Returns
The same instance of the builder. This value cannot be null.
- Attributes
Remarks
Set the drawable resource of the icon to use in the TaskDescription.
Android reference for android.app.ActivityManager.TaskDescription.Builder.setIcon.
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.