Partager via


MockPackageManager.GetDefaultBrowserPackageName(Int32) Method

Definition

{

[Android.Runtime.Register("getDefaultBrowserPackageName", "(I)Ljava/lang/String;", "GetGetDefaultBrowserPackageName_IHandler", ApiSince=23)]
public virtual string? GetDefaultBrowserPackageName (int userId);
[<Android.Runtime.Register("getDefaultBrowserPackageName", "(I)Ljava/lang/String;", "GetGetDefaultBrowserPackageName_IHandler", ApiSince=23)>]
abstract member GetDefaultBrowserPackageName : int -> string
override this.GetDefaultBrowserPackageName : int -> string

Parameters

userId
Int32

Returns

Attributes

Remarks

{

Java documentation for android.test.mock.MockPackageManager.getDefaultBrowserPackageName(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