MockPackageManager.QueryIntentActivityOptions メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
ユーザーに同様のオプションとして表示する必要がある一連のアクティビティを取得します。
[Android.Runtime.Register("queryIntentActivityOptions", "(Landroid/content/ComponentName;[Landroid/content/Intent;Landroid/content/Intent;I)Ljava/util/List;", "GetQueryIntentActivityOptions_Landroid_content_ComponentName_arrayLandroid_content_Intent_Landroid_content_Intent_IHandler")]
public override System.Collections.Generic.IList<Android.Content.PM.ResolveInfo>? QueryIntentActivityOptions(Android.Content.ComponentName? caller, Android.Content.Intent[]? specifics, Android.Content.Intent? intent, Android.Content.PM.PackageInfoFlags flags);
[<Android.Runtime.Register("queryIntentActivityOptions", "(Landroid/content/ComponentName;[Landroid/content/Intent;Landroid/content/Intent;I)Ljava/util/List;", "GetQueryIntentActivityOptions_Landroid_content_ComponentName_arrayLandroid_content_Intent_Landroid_content_Intent_IHandler")>]
override this.QueryIntentActivityOptions : Android.Content.ComponentName * Android.Content.Intent[] * Android.Content.Intent * Android.Content.PM.PackageInfoFlags -> System.Collections.Generic.IList<Android.Content.PM.ResolveInfo>
パラメーター
- caller
- ComponentName
要求を行っているアクティビティのクラス名。 このアクティビティは出力一覧には表示されません。 null を指定できます。
- specifics
- Intent[]
最初の特定の結果に解決する必要がある意図の配列。 null を指定できます。
- intent
- Intent
resolveActivity() に従って目的の意図。
- flags
- PackageInfoFlags
追加のオプション フラグ。 最も重要なのはをサポートするアクティビティのみに解決を制限するために、Android.Content.PM.PackageManager.MATCH_DEFAULT_ONLY Android.Content.PM.PackageManager.MATCH_DEFAULT_ONLYです。
返品
- 属性
注釈
このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。