ActivityManager.TaskDescription Constructors
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.
Overloads
ActivityManager.TaskDescription() |
Creates an empty TaskDescription. |
ActivityManager.TaskDescription(ActivityManager+TaskDescription) | |
ActivityManager.TaskDescription(String) |
Creates the TaskDescription to the specified values. |
ActivityManager.TaskDescription(IntPtr, JniHandleOwnership) | |
ActivityManager.TaskDescription(String, Bitmap) |
Creates the TaskDescription to the specified values. |
ActivityManager.TaskDescription(String, Int32) |
Creates the TaskDescription to the specified values. |
ActivityManager.TaskDescription(String, Bitmap, Color) |
Creates the TaskDescription to the specified values. |
ActivityManager.TaskDescription(String, Int32, Color) |
Creates the TaskDescription to the specified values. |
ActivityManager.TaskDescription()
Creates an empty TaskDescription.
[Android.Runtime.Register(".ctor", "()V", "")]
public TaskDescription ();
- Attributes
Remarks
Creates an empty TaskDescription.
This member is deprecated. Use Builder
instead.
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
ActivityManager.TaskDescription(ActivityManager+TaskDescription)
[Android.Runtime.Register(".ctor", "(Landroid/app/ActivityManager$TaskDescription;)V", "")]
public TaskDescription (Android.App.ActivityManager.TaskDescription td);
[<Android.Runtime.Register(".ctor", "(Landroid/app/ActivityManager$TaskDescription;)V", "")>]
new Android.App.ActivityManager.TaskDescription : Android.App.ActivityManager.TaskDescription -> Android.App.ActivityManager.TaskDescription
Parameters
- Attributes
Remarks
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
ActivityManager.TaskDescription(String)
Creates the TaskDescription to the specified values.
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")]
public TaskDescription (string label);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")>]
new Android.App.ActivityManager.TaskDescription : string -> Android.App.ActivityManager.TaskDescription
Parameters
- label
- String
A label and description of the current state of this activity.
- Attributes
Remarks
Creates the TaskDescription to the specified values.
This member is deprecated. Use Builder
instead.
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
ActivityManager.TaskDescription(IntPtr, JniHandleOwnership)
protected TaskDescription (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.App.ActivityManager.TaskDescription : nativeint * Android.Runtime.JniHandleOwnership -> Android.App.ActivityManager.TaskDescription
Parameters
- javaReference
-
IntPtr
nativeint
- transfer
- JniHandleOwnership
Remarks
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
ActivityManager.TaskDescription(String, Bitmap)
Creates the TaskDescription to the specified values.
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Landroid/graphics/Bitmap;)V", "")]
public TaskDescription (string label, Android.Graphics.Bitmap icon);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Landroid/graphics/Bitmap;)V", "")>]
new Android.App.ActivityManager.TaskDescription : string * Android.Graphics.Bitmap -> Android.App.ActivityManager.TaskDescription
Parameters
- label
- String
A label and description of the current state of this activity.
- icon
- Bitmap
An icon that represents the current state of this activity.
- Attributes
Remarks
Creates the TaskDescription to the specified values.
This member is deprecated. Use Builder
instead.
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
ActivityManager.TaskDescription(String, Int32)
Creates the TaskDescription to the specified values.
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;I)V", "", ApiSince=28)]
public TaskDescription (string label, int iconRes);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;I)V", "", ApiSince=28)>]
new Android.App.ActivityManager.TaskDescription : string * int -> Android.App.ActivityManager.TaskDescription
Parameters
- label
- String
A label and description of the current state of this activity.
- iconRes
- Int32
A drawable resource of an icon that represents the current state of this activity.
- Attributes
Remarks
Creates the TaskDescription to the specified values.
This member is deprecated. Use Builder
instead.
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
ActivityManager.TaskDescription(String, Bitmap, Color)
Creates the TaskDescription to the specified values.
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Landroid/graphics/Bitmap;I)V", "")]
public TaskDescription (string label, Android.Graphics.Bitmap icon, Android.Graphics.Color colorPrimary);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Landroid/graphics/Bitmap;I)V", "")>]
new Android.App.ActivityManager.TaskDescription : string * Android.Graphics.Bitmap * Android.Graphics.Color -> Android.App.ActivityManager.TaskDescription
Parameters
- label
- String
A label and description of the current state of this task.
- icon
- Bitmap
An icon that represents the current state of this task.
- colorPrimary
- Color
A color to override the theme's primary color. This color must be opaque.
- Attributes
Remarks
Creates the TaskDescription to the specified values.
This member is deprecated. Use Builder
instead.
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
ActivityManager.TaskDescription(String, Int32, Color)
Creates the TaskDescription to the specified values.
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;II)V", "", ApiSince=28)]
public TaskDescription (string label, int iconRes, Android.Graphics.Color colorPrimary);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;II)V", "", ApiSince=28)>]
new Android.App.ActivityManager.TaskDescription : string * int * Android.Graphics.Color -> Android.App.ActivityManager.TaskDescription
Parameters
- label
- String
A label and description of the current state of this task.
- iconRes
- Int32
A drawable resource of an icon that represents the current state of this activity.
- colorPrimary
- Color
A color to override the theme's primary color. This color must be opaque.
- Attributes
Remarks
Creates the TaskDescription to the specified values.
This member is deprecated. Use Builder
instead.
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.