Android.Test.Mock.MockPackageManager.QueryContentProviders Method
Retrieve content provider information.

Syntax

[Android.Runtime.Register("queryContentProviders", "(Ljava/lang/String;II)Ljava/util/List;", "GetQueryContentProviders_Ljava_lang_String_IIHandler")]
public override IList<Android.Content.PM.ProviderInfo> QueryContentProviders (string processName, int uid, [Android.Runtime.GeneratedEnum] Android.Content.PM.PackageInfoFlags flags)

Parameters

processName
If non-null, limits the returned providers to only those that are hosted by the given process. If null, all content providers are returned.
uid
If processName is non-null, this is the required uid owning the requested content providers.
flags
Additional option flags. Currently should always be 0.

Returns

Documentation for this section has not yet been entered.

Remarks

Retrieve content provider information.

Note: unlike most other methods, an empty result set is indicated by a null return instead of an empty list.

[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