Android.Test.Mock.MockContentProvider.Insert Method
Implement this to handle requests to insert a new row.

Syntax

[Android.Runtime.Register("insert", "(Landroid/net/Uri;Landroid/content/ContentValues;)Landroid/net/Uri;", "GetInsert_Landroid_net_Uri_Landroid_content_ContentValues_Handler")]
public override Android.Net.Uri Insert (Android.Net.Uri uri, Android.Content.ContentValues values)

Parameters

uri
The content:// URI of the insertion request. This must not be null.
values
A set of column_name/value pairs to add to the database. This must not be null.

Returns

Documentation for this section has not yet been entered.

Remarks

Implement this to handle requests to insert a new row. As a courtesy, call Android.Content.ContentResolver.NotifyChange(Android.Net.Uri, Android.Database.ContentObserver) after inserting. This method can be called from multiple threads, as described in Processes and Threads.

[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 8