SearchRecentSuggestionsProvider.Insert(Uri, ContentValues) Method

Definition

This method is provided for use by the ContentResolver.

[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);
[<Android.Runtime.Register("insert", "(Landroid/net/Uri;Landroid/content/ContentValues;)Landroid/net/Uri;", "GetInsert_Landroid_net_Uri_Landroid_content_ContentValues_Handler")>]
override this.Insert : Android.Net.Uri * Android.Content.ContentValues -> Android.Net.Uri

Parameters

uri
Uri

The content:// URI of the insertion request. This must not be null.

values
ContentValues

A set of column_name/value pairs to add to the database. This must not be null.

Returns

Uri
Attributes

Remarks

This method is provided for use by the ContentResolver. Do not override, or directly call from your own code.

Java documentation for android.content.SearchRecentSuggestionsProvider.insert(android.net.Uri, android.content.ContentValues).

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.

Applies to