Android.Webkit.IJavascriptInterface
Annotation that allows exposing methods to JavaScript.

See Also: IJavascriptInterface Members

Syntax

[Android.Runtime.Register("android/webkit/JavascriptInterface", "", "Android.Webkit.IJavascriptInterfaceInvoker")]
public interface IJavascriptInterface : Java.Lang.Annotation.IAnnotation, IDisposable

Remarks

Annotation that allows exposing methods to JavaScript. Starting from API level NoType:android/os/Build$VERSION_CODES;Href=../../../reference/android/os/Build.VERSION_CODES.html#JELLY_BEAN_MR1 and above, only methods explicitly marked with this annotation are available to the Javascript code. See WebView.AddJavascriptInterface(Java.Lang.Object, System.String) for more information about it.

[Android Documentation]

Requirements

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