Android.Content.ContentResolver.Call Method
Call a provider-defined method.

Syntax

[Android.Runtime.Register("call", "(Landroid/net/Uri;Ljava/lang/String;Ljava/lang/String;Landroid/os/Bundle;)Landroid/os/Bundle;", "")]
public Android.OS.Bundle Call (Android.Net.Uri uri, string method, string arg, Android.OS.Bundle extras)

Parameters

uri
Documentation for this section has not yet been entered.
method
provider-defined method name to call. Opaque to framework, but must be non-null.
arg
provider-defined String argument. May be null.
extras
provider-defined Bundle argument. May be null.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Lang.NullPointerExceptionif uri or method is null
Java.Lang.IllegalArgumentExceptionif uri is not known

Remarks

Call a provider-defined method. This can be used to implement read or write interfaces which are cheaper than using a Cursor and/or do not fit into the traditional table model.

[Android Documentation]

Requirements

Namespace: Android.Content
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 11