ArchivedActivityInfo 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
| Name | Description |
|---|---|
| ArchivedActivityInfo(ICharSequence, ComponentName) |
Creates an archived activity record with a label and component identity. |
| ArchivedActivityInfo(String, ComponentName) |
Creates an archived activity record using a string label and component identity. |
ArchivedActivityInfo(ICharSequence, ComponentName)
Creates an archived activity record with a label and component identity.
[Android.Runtime.Register(".ctor", "(Ljava/lang/CharSequence;Landroid/content/ComponentName;)V", "", ApiSince=35)]
public ArchivedActivityInfo(Java.Lang.ICharSequence label, Android.Content.ComponentName componentName);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/CharSequence;Landroid/content/ComponentName;)V", "", ApiSince=35)>]
new Android.Content.PM.ArchivedActivityInfo : Java.Lang.ICharSequence * Android.Content.ComponentName -> Android.Content.PM.ArchivedActivityInfo
Parameters
- label
- ICharSequence
The activity's non-null display label.
- componentName
- ComponentName
The non-null component identity stored in the archived record.
- Attributes
Remarks
The optional icons can be supplied through SetIcon and SetMonochromeIcon after construction.
Applies to
ArchivedActivityInfo(String, ComponentName)
Creates an archived activity record using a string label and component identity.
[Android.Runtime.Register(".ctor", "(Ljava/lang/CharSequence;Landroid/content/ComponentName;)V", "", ApiSince=35)]
public ArchivedActivityInfo(string label, Android.Content.ComponentName componentName);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/CharSequence;Landroid/content/ComponentName;)V", "", ApiSince=35)>]
new Android.Content.PM.ArchivedActivityInfo : string * Android.Content.ComponentName -> Android.Content.PM.ArchivedActivityInfo
Parameters
- label
- String
The non-null activity display label as a string.
- componentName
- ComponentName
The non-null component identity stored in the archived record.
- Attributes
Remarks
The string supplies the native character-sequence label. Optional icons can be assigned through SetIcon and SetMonochromeIcon.