@android.annotation.TargetApi(android.os.Build.VERSION_CODES.M)

Here are the examples of the java api @android.annotation.TargetApi(android.os.Build.VERSION_CODES.M) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Examples 7

16 Source : MyWebViewClient.java
with GNU Affero General Public License v3.0
from KianIranian-STDG

@TargetApi(android.os.Build.VERSION_CODES.M)
@Override
public void onReceivedError(WebView webView, WebResourceRequest request, WebResourceError error) {
    super.onReceivedError(webView, request, error);
    onReceivedError(webView, request.getUrl().toString(), error.getErrorCode(), error.getDescription().toString());
}