WebView.RemoveJavascriptInterface(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Removes a previously injected Java object from this WebView.
[Android.Runtime.Register("removeJavascriptInterface", "(Ljava/lang/String;)V", "GetRemoveJavascriptInterface_Ljava_lang_String_Handler")]
public virtual void RemoveJavascriptInterface (string name);
[<Android.Runtime.Register("removeJavascriptInterface", "(Ljava/lang/String;)V", "GetRemoveJavascriptInterface_Ljava_lang_String_Handler")>]
abstract member RemoveJavascriptInterface : string -> unit
override this.RemoveJavascriptInterface : string -> unit
Parameters
- name
- String
the name used to expose the object in JavaScript
- Attributes
Remarks
Removes a previously injected Java object from this WebView. Note that the removal will not be reflected in JavaScript until the page is next (re)loaded. See #addJavascriptInterface
.
Java documentation for android.webkit.WebView.removeJavascriptInterface(java.lang.String)
.
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.