Language

ChooserAction.Builder コンストラクター

定義

オーバーロード

Name 説明
ChooserAction.Builder(Icon, ICharSequence, PendingIntent)

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

ChooserAction.Builder(Icon, String, PendingIntent)

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

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ドキュメント。

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

適用対象

ChooserAction.Builder(Icon, String, 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, 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

透明な背景の上に白い前景で構成される、このアクションを表すアイコン。 この値は null にすることはできません。

label
String

このアクションのユーザーが判読できるラベルにラベルを付けます。 この値は null にすることはできません。

action
PendingIntent

アクションが選択されたときに呼び出される PendingIntent。 この値は null にすることはできません。

属性

注釈

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

android.service.chooser.ChooserAction.Builder.Builderの Android リファレンス。

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

適用対象