AgentTaskState.Builder.SetIconAndContentDescription 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 名稱 | Description |
|---|---|
| SetIconAndContentDescription(Icon, ICharSequence) | |
| SetIconAndContentDescription(Icon, String) |
SetIconAndContentDescription(Icon, ICharSequence)
[Android.Runtime.Register("setIconAndContentDescription", "(Landroid/graphics/drawable/Icon;Ljava/lang/CharSequence;)Landroid/agenticon/AgentTaskState$Builder;", "", ApiSince=37)]
public Android.AgentIcon.AgentTaskState.Builder SetIconAndContentDescription(Android.Graphics.Drawables.Icon icon, Java.Lang.ICharSequence contentDescription);
[<Android.Runtime.Register("setIconAndContentDescription", "(Landroid/graphics/drawable/Icon;Ljava/lang/CharSequence;)Landroid/agenticon/AgentTaskState$Builder;", "", ApiSince=37)>]
member this.SetIconAndContentDescription : Android.Graphics.Drawables.Icon * Java.Lang.ICharSequence -> Android.AgentIcon.AgentTaskState.Builder
參數
- icon
- Icon
- contentDescription
- ICharSequence
傳回
- 屬性
適用於
SetIconAndContentDescription(Icon, String)
public Android.AgentIcon.AgentTaskState.Builder SetIconAndContentDescription(Android.Graphics.Drawables.Icon icon, string contentDescription);
member this.SetIconAndContentDescription : Android.Graphics.Drawables.Icon * string -> Android.AgentIcon.AgentTaskState.Builder
參數
- icon
- Icon
- contentDescription
- String