Android.Test.Mock.MockPackageManager.GetPreferredPackages Method
Retrieve the list of all currently configured preferred packages.

Syntax

[Android.Runtime.Register("getPreferredPackages", "(I)Ljava/util/List;", "GetGetPreferredPackages_IHandler")]
public override IList<Android.Content.PM.PackageInfo> GetPreferredPackages ([Android.Runtime.GeneratedEnum] Android.Content.PM.PackageInfoFlags flags)

Parameters

flags
Additional option flags. Use any combination of Android.Content.PM.PackageManager.GET_ACTIVITIES, Android.Content.PM.PackageManager.GET_GIDS, Android.Content.PM.PackageManager.GET_CONFIGURATIONS, Android.Content.PM.PackageManager.GET_INSTRUMENTATION, Android.Content.PM.PackageManager.GET_PERMISSIONS, Android.Content.PM.PackageManager.GET_PROVIDERS, Android.Content.PM.PackageManager.GET_RECEIVERS, Android.Content.PM.PackageManager.GET_SERVICES, Android.Content.PM.PackageManager.GET_SIGNATURES, to modify the data returned.

Returns

Documentation for this section has not yet been entered.

Remarks

Retrieve the list of all currently configured preferred packages. The first package on the list is the most preferred, the last is the least preferred.

[Android Documentation]

Requirements

Namespace: Android.Test.Mock
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1