Android.Test.Mock.MockContentProvider Members

The members of Android.Test.Mock.MockContentProvider are listed below.

See Also: Inherited members from Android.Content.ContentProvider

Public Constructors

A constructor accepting a Context instance, which is supposed to be the subclasss of Android.Test.Mock.MockContext.
A constructor which initialize four member variables which Android.Content.ContentProvider have internally.

Protected Constructors

A constructor using Android.Test.Mock.MockContext instance as a Context in it.
A constructor used when creating managed representations of JNI objects; called by the runtime.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

override
Delete(Android.Net.Uri, string, string[]) : int
Implement this to handle requests to delete one or more rows.
override
GetType(Android.Net.Uri) : string
Implement this to handle requests for the MIME type of the data at the given URI.
override
Insert(Android.Net.Uri, Android.Content.ContentValues) : Android.Net.Uri
Implement this to handle requests to insert a new row.
override
OnCreate() : bool
Implement this to initialize your content provider on startup.
override
Query(Android.Net.Uri, string[], string, string[], string) : Android.Database.ICursor
Implement this to handle query requests from clients.
override
Update(Android.Net.Uri, Android.Content.ContentValues, string, string[]) : int
Implement this to handle requests to update one or more rows.