Share via


MockPackageManager.AddPackageToPreferred(String) Method

Definition

Caution

deprecated

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

Parameters

packageName
String
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