Example usage for android.webkit WebView enablePlatformNotifications

List of usage examples for android.webkit WebView enablePlatformNotifications

Introduction

In this page you can find the example usage for android.webkit WebView enablePlatformNotifications.

Prototype

@Deprecated
@UnsupportedAppUsage
public static void enablePlatformNotifications() 

Source Link

Document

Enables platform notifications of data state and proxy changes.

Usage

From source file:android.webkit.cts.WebViewTest.java

@UiThreadTest
public void testPlatformNotifications() {
    if (!NullWebViewUtils.isWebViewAvailable()) {
        return;// ww  w  . ja va2 s.c o m
    }
    WebView.enablePlatformNotifications();
    WebView.disablePlatformNotifications();
}