ChooserAction.Builder コンストラクター

定義

オーバーロード

ChooserAction.Builder(Icon, ICharSequence, PendingIntent)

オブジェクトの新しいビルダーを ChooserAction 構築します。

ChooserAction.Builder(Icon, String, PendingIntent)

ChooserAction.Builder(Icon, ICharSequence, PendingIntent)

オブジェクトの新しいビルダーを ChooserAction 構築します。

[Android.Runtime.Register(".ctor", "(Landroid/graphics/drawable/Icon;Ljava/lang/CharSequence;Landroid/app/PendingIntent;)V", "", ApiSince=34)]
public Builder (Android.Graphics.Drawables.Icon icon, Java.Lang.ICharSequence label, Android.App.PendingIntent action);
[<Android.Runtime.Register(".ctor", "(Landroid/graphics/drawable/Icon;Ljava/lang/CharSequence;Landroid/app/PendingIntent;)V", "", ApiSince=34)>]
new Android.Service.Chooser.ChooserAction.Builder : Android.Graphics.Drawables.Icon * Java.Lang.ICharSequence * Android.App.PendingIntent -> Android.Service.Chooser.ChooserAction.Builder

パラメーター

icon
Icon

透明な Icon 背景の上に白い前景で構成される、このアクションを表す 。

label
ICharSequence

このアクションのユーザーが読み取り可能なラベルにラベルを付けます。

action
PendingIntent

PendingIntent アクションが選択されたときに呼び出されます。

属性

注釈

オブジェクトの新しいビルダーを ChooserAction 構築します。

の Java ドキュメント android.service.chooser.ChooserAction.Builder.ChooserAction$Builder(android.graphics.drawable.Icon, java.lang.CharSequence, android.app.PendingIntent)

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象

ChooserAction.Builder(Icon, String, PendingIntent)

[Android.Runtime.Register(".ctor", "(Landroid/graphics/drawable/Icon;Ljava/lang/CharSequence;Landroid/app/PendingIntent;)V", "", ApiSince=34)]
public Builder (Android.Graphics.Drawables.Icon icon, string label, Android.App.PendingIntent action);
[<Android.Runtime.Register(".ctor", "(Landroid/graphics/drawable/Icon;Ljava/lang/CharSequence;Landroid/app/PendingIntent;)V", "", ApiSince=34)>]
new Android.Service.Chooser.ChooserAction.Builder : Android.Graphics.Drawables.Icon * string * Android.App.PendingIntent -> Android.Service.Chooser.ChooserAction.Builder

パラメーター

icon
Icon
label
String
action
PendingIntent
属性

適用対象