ContentProviderOperation.Builder.WithExtra(String, Object) Method

Definition

Configure the given extra to use for this operation. This method will replace any previously defined extras for this key.

[Android.Runtime.Register("withExtra", "(Ljava/lang/String;Ljava/lang/Object;)Landroid/content/ContentProviderOperation$Builder;", "GetWithExtra_Ljava_lang_String_Ljava_lang_Object_Handler", ApiSince=30)]
public virtual Android.Content.ContentProviderOperation.Builder WithExtra(string key, Java.Lang.Object? value);
[<Android.Runtime.Register("withExtra", "(Ljava/lang/String;Ljava/lang/Object;)Landroid/content/ContentProviderOperation$Builder;", "GetWithExtra_Ljava_lang_String_Ljava_lang_Object_Handler", ApiSince=30)>]
abstract member WithExtra : string * Java.Lang.Object -> Android.Content.ContentProviderOperation.Builder
override this.WithExtra : string * Java.Lang.Object -> Android.Content.ContentProviderOperation.Builder

Parameters

key
String

the key indicating which extra to configure. This value cannot be null .

value
Object

This value may be null .

Returns

This value cannot be null .

Attributes

Remarks

Configure the given extra to use for this operation. This method will replace any previously defined extras for this key.

Java documentation for android.content.ContentProviderOperation.Builder.withExtra(java.lang.String, java.lang.Object).

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