MockPackageManager.GetPreferredPackages(PackageInfoFlags) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
deprecated
Retrieve the list of all currently configured preferred packages.
[Android.Runtime.Register("getPreferredPackages", "(I)Ljava/util/List;", "GetGetPreferredPackages_IHandler")]
[System.Obsolete("deprecated")]
public override System.Collections.Generic.IList<Android.Content.PM.PackageInfo>? GetPreferredPackages (Android.Content.PM.PackageInfoFlags flags);
[<Android.Runtime.Register("getPreferredPackages", "(I)Ljava/util/List;", "GetGetPreferredPackages_IHandler")>]
[<System.Obsolete("deprecated")>]
override this.GetPreferredPackages : Android.Content.PM.PackageInfoFlags -> System.Collections.Generic.IList<Android.Content.PM.PackageInfo>
Parameters
- flags
- PackageInfoFlags
Additional option flags. Use any combination of Activities, Gids, Configurations, Instrumentation, Permissions, Providers, Receivers, Services, Signatures, to modify the data returned.
Returns
- 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.