Language

JavascriptInterfaceAttribute Class

Definition

Marks a method for exposure to JavaScript through a WebView interface.

[Android.Runtime.Annotation("android.webkit.JavascriptInterface")]
public class JavascriptInterfaceAttribute : Attribute
[<Android.Runtime.Annotation("android.webkit.JavascriptInterface")>]
type JavascriptInterfaceAttribute = class
    inherit Attribute
Inheritance
JavascriptInterfaceAttribute
Attributes

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Constructors

Name Description
JavascriptInterfaceAttribute()

Creates an attribute that marks a JavaScript-accessible method.

Applies to