Most visited

Recently visited

Added in API level 17

JavascriptInterface

public abstract @interface JavascriptInterface
implements Annotation

android.webkit.JavascriptInterface


允许将方法暴露给JavaScript的注释。 从API级别JELLY_BEAN_MR1及以上开始,只有明确标有此注释的方法才可用于Javascript代码。 有关addJavascriptInterface(Object, String)的更多信息,请参阅addJavascriptInterface(Object, String)

Summary

Inherited methods

From interface java.lang.annotation.Annotation

Hooray!