AgentTaskEvent.Builder 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 |
|---|---|
| AgentTaskEvent.Builder(AgentTaskEvent+Builder) | |
| AgentTaskEvent.Builder(ICharSequence) |
Creates a new Builder with a given non-empty text for the event. |
| AgentTaskEvent.Builder(String) | |
| AgentTaskEvent.Builder(IList<Icon>, IList<Icon>) |
Creates a new Builder with given lists of leading and trailing icons. |
AgentTaskEvent.Builder(AgentTaskEvent+Builder)
[Android.Runtime.Register(".ctor", "(Landroid/agenticon/AgentTaskEvent$Builder;)V", "", ApiSince=37)]
public Builder(Android.AgentIcon.AgentTaskEvent.Builder other);
[<Android.Runtime.Register(".ctor", "(Landroid/agenticon/AgentTaskEvent$Builder;)V", "", ApiSince=37)>]
new Android.AgentIcon.AgentTaskEvent.Builder : Android.AgentIcon.AgentTaskEvent.Builder -> Android.AgentIcon.AgentTaskEvent.Builder
Parameters
- other
- AgentTaskEvent.Builder
- Attributes
Applies to
AgentTaskEvent.Builder(ICharSequence)
Creates a new Builder with a given non-empty text for the event.
[Android.Runtime.Register(".ctor", "(Ljava/lang/CharSequence;)V", "", ApiSince=37)]
public Builder(Java.Lang.ICharSequence text);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/CharSequence;)V", "", ApiSince=37)>]
new Android.AgentIcon.AgentTaskEvent.Builder : Java.Lang.ICharSequence -> Android.AgentIcon.AgentTaskEvent.Builder
Parameters
- text
- ICharSequence
the text to show.
- Attributes
Applies to
AgentTaskEvent.Builder(String)
[Android.Runtime.Register(".ctor", "(Ljava/lang/CharSequence;)V", "", ApiSince=37)]
public Builder(string text);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/CharSequence;)V", "", ApiSince=37)>]
new Android.AgentIcon.AgentTaskEvent.Builder : string -> Android.AgentIcon.AgentTaskEvent.Builder
Parameters
- text
- String
- Attributes
Applies to
AgentTaskEvent.Builder(IList<Icon>, IList<Icon>)
Creates a new Builder with given lists of leading and trailing icons.
[Android.Runtime.Register(".ctor", "(Ljava/util/List;Ljava/util/List;)V", "", ApiSince=37)]
public Builder(System.Collections.Generic.IList<Android.Graphics.Drawables.Icon> leadingIcons, System.Collections.Generic.IList<Android.Graphics.Drawables.Icon> trailingIcons);
[<Android.Runtime.Register(".ctor", "(Ljava/util/List;Ljava/util/List;)V", "", ApiSince=37)>]
new Android.AgentIcon.AgentTaskEvent.Builder : System.Collections.Generic.IList<Android.Graphics.Drawables.Icon> * System.Collections.Generic.IList<Android.Graphics.Drawables.Icon> -> Android.AgentIcon.AgentTaskEvent.Builder
Parameters
- Attributes