MockPackageManager.ResolveContentProvider(String, 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.
Find a single content provider by its base path name.
[Android.Runtime.Register("resolveContentProvider", "(Ljava/lang/String;I)Landroid/content/pm/ProviderInfo;", "GetResolveContentProvider_Ljava_lang_String_IHandler")]
public override Android.Content.PM.ProviderInfo? ResolveContentProvider (string? name, Android.Content.PM.PackageInfoFlags flags);
[<Android.Runtime.Register("resolveContentProvider", "(Ljava/lang/String;I)Landroid/content/pm/ProviderInfo;", "GetResolveContentProvider_Ljava_lang_String_IHandler")>]
override this.ResolveContentProvider : string * Android.Content.PM.PackageInfoFlags -> Android.Content.PM.ProviderInfo
Parameters
- name
- String
The name of the provider to find.
- flags
- PackageInfoFlags
Additional option flags. Currently should always be 0.
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.