Compartir a través de


MockPackageManager.SetDefaultBrowserPackageName(String, Int32) Method

Definition

{

[Android.Runtime.Register("setDefaultBrowserPackageName", "(Ljava/lang/String;I)Z", "GetSetDefaultBrowserPackageName_Ljava_lang_String_IHandler", ApiSince=23)]
public virtual bool SetDefaultBrowserPackageName (string? packageName, int userId);
[<Android.Runtime.Register("setDefaultBrowserPackageName", "(Ljava/lang/String;I)Z", "GetSetDefaultBrowserPackageName_Ljava_lang_String_IHandler", ApiSince=23)>]
abstract member SetDefaultBrowserPackageName : string * int -> bool
override this.SetDefaultBrowserPackageName : string * int -> bool

Parameters

packageName
String
userId
Int32

Returns

Attributes

Remarks

{

Java documentation for android.test.mock.MockPackageManager.setDefaultBrowserPackageName(java.lang.String, int).

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