MockPackageManager.AddPreferredActivity メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
注意事項
deprecated
[Android.Runtime.Register("addPreferredActivity", "(Landroid/content/IntentFilter;I[Landroid/content/ComponentName;Landroid/content/ComponentName;)V", "GetAddPreferredActivity_Landroid_content_IntentFilter_IarrayLandroid_content_ComponentName_Landroid_content_ComponentName_Handler")]
[System.Obsolete("deprecated")]
public override void AddPreferredActivity(Android.Content.IntentFilter? filter, Android.Content.MatchResults match, Android.Content.ComponentName[]? set, Android.Content.ComponentName? activity);
[<Android.Runtime.Register("addPreferredActivity", "(Landroid/content/IntentFilter;I[Landroid/content/ComponentName;Landroid/content/ComponentName;)V", "GetAddPreferredActivity_Landroid_content_IntentFilter_IarrayLandroid_content_ComponentName_Landroid_content_ComponentName_Handler")>]
[<System.Obsolete("deprecated")>]
override this.AddPreferredActivity : Android.Content.IntentFilter * Android.Content.MatchResults * Android.Content.ComponentName[] * Android.Content.ComponentName -> unit
パラメーター
- filter
- IntentFilter
このアクティビティが優先される意図のセット。
- match
- MatchResults
IntentFilter は、この基本設定が適用されるカテゴリと一致します。
- set
- ComponentName[]
この設定が行われたときにユーザーが選択していたアクティビティのセット。
- activity
- ComponentName
推奨されるアクティビティのコンポーネント名。
- 属性
注釈
このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。