Added in API level 17

JavascriptInterface


public abstract @interface JavascriptInterface
implements Annotation

android.webkit.JavascriptInterface


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

Summary

Inherited methods