Android.Content.PM.PackageManager.GetPreferredPackages Method
Retrieve the list of all currently configured preferred packages.

Syntax

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

Parameters

flags
Additional option flags. Use any combination of PackageManager.GET_ACTIVITIES, PackageManager.GET_GIDS, PackageManager.GET_CONFIGURATIONS, PackageManager.GET_INSTRUMENTATION, PackageManager.GET_PERMISSIONS, PackageManager.GET_PROVIDERS, PackageManager.GET_RECEIVERS, PackageManager.GET_SERVICES, 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.Content.PM
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1