MockPackageManager.ClearPackagePreferredActivities(String) Method

Definition

Caution

deprecated

[Android.Runtime.Register("clearPackagePreferredActivities", "(Ljava/lang/String;)V", "GetClearPackagePreferredActivities_Ljava_lang_String_Handler")]
[System.Obsolete("deprecated")]
public override void ClearPackagePreferredActivities (string? packageName);
[<Android.Runtime.Register("clearPackagePreferredActivities", "(Ljava/lang/String;)V", "GetClearPackagePreferredActivities_Ljava_lang_String_Handler")>]
[<System.Obsolete("deprecated")>]
override this.ClearPackagePreferredActivities : string -> unit

Parameters

packageName
String

The name of the package whose preferred activity mappings are to be removed.

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