Share via


MockPackageManager.GetPreferredActivities Method

Definition

Caution

deprecated

[Android.Runtime.Register("getPreferredActivities", "(Ljava/util/List;Ljava/util/List;Ljava/lang/String;)I", "GetGetPreferredActivities_Ljava_util_List_Ljava_util_List_Ljava_lang_String_Handler")]
[System.Obsolete("deprecated")]
public override int GetPreferredActivities (System.Collections.Generic.IList<Android.Content.IntentFilter>? outFilters, System.Collections.Generic.IList<Android.Content.ComponentName>? outActivities, string? packageName);
[<Android.Runtime.Register("getPreferredActivities", "(Ljava/util/List;Ljava/util/List;Ljava/lang/String;)I", "GetGetPreferredActivities_Ljava_util_List_Ljava_util_List_Ljava_lang_String_Handler")>]
[<System.Obsolete("deprecated")>]
override this.GetPreferredActivities : System.Collections.Generic.IList<Android.Content.IntentFilter> * System.Collections.Generic.IList<Android.Content.ComponentName> * string -> int

Parameters

outFilters
IList<IntentFilter>
outActivities
IList<ComponentName>
packageName
String

Returns

Attributes

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to