to top
Android APIs
public abstract @interface

JavascriptInterface

implements Annotation
android.webkit.JavascriptInterface

Class Overview

Annotation that allows exposing methods to JavaScript. Starting from API level JELLY_BEAN_MR1 and above, only methods explicitly marked with this annotation are available to the Javascript code. See addJavascriptInterface(Object, String) for more information about it.

Summary

[Expand]
Inherited Methods
From interface java.lang.annotation.Annotation
No examples for this method.
Frequently called with: [Clear]
Portions of this page are reproduced from work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. The original page is available here.