[]Struct jni_android_sys::android::webkit::WebViewClient

#[repr(transparent)]
pub struct WebViewClient(_);

public class WebViewClient

Required feature: "android-webkit-WebViewClient"

Methods

impl WebViewClient

pub fn new<'env>(
    __jni_env: &'env Env
) -> Result<Local<'env, WebViewClient>, Local<'env, Throwable>>
[src]

pub fn shouldOverrideUrlLoading_WebView_String<'env>(
    &'env self,
    arg0: impl Into<Option<&'env WebView>>,
    arg1: impl Into<Option<&'env String>>
) -> Result<bool, Local<'env, Throwable>>
[src]

Deprecated

shouldOverrideUrlLoading

Required features: "android-webkit-WebView", "java-lang-String"

pub fn shouldOverrideUrlLoading_WebView_WebResourceRequest<'env>(
    &'env self,
    arg0: impl Into<Option<&'env WebView>>,
    arg1: impl Into<Option<&'env WebResourceRequest>>
) -> Result<bool, Local<'env, Throwable>>
[src]

shouldOverrideUrlLoading

Required features: "android-webkit-WebResourceRequest", "android-webkit-WebView"

pub fn onPageStarted<'env>(
    &'env self,
    arg0: impl Into<Option<&'env WebView>>,
    arg1: impl Into<Option<&'env String>>,
    arg2: impl Into<Option<&'env Bitmap>>
) -> Result<(), Local<'env, Throwable>>
[src]

onPageStarted

Required features: "android-graphics-Bitmap", "android-webkit-WebView", "java-lang-String"

pub fn onPageFinished<'env>(
    &'env self,
    arg0: impl Into<Option<&'env WebView>>,
    arg1: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]

onPageFinished

Required features: "android-webkit-WebView", "java-lang-String"

pub fn onLoadResource<'env>(
    &'env self,
    arg0: impl Into<Option<&'env WebView>>,
    arg1: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]

onLoadResource

Required features: "android-webkit-WebView", "java-lang-String"

pub fn onPageCommitVisible<'env>(
    &'env self,
    arg0: impl Into<Option<&'env WebView>>,
    arg1: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]

onPageCommitVisible

Required features: "android-webkit-WebView", "java-lang-String"

pub fn shouldInterceptRequest_WebView_String<'env>(
    &'env self,
    arg0: impl Into<Option<&'env WebView>>,
    arg1: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, WebResourceResponse>>, Local<'env, Throwable>>
[src]

Deprecated

shouldInterceptRequest

Required features: "android-webkit-WebResourceResponse", "android-webkit-WebView", "java-lang-String"

pub fn shouldInterceptRequest_WebView_WebResourceRequest<'env>(
    &'env self,
    arg0: impl Into<Option<&'env WebView>>,
    arg1: impl Into<Option<&'env WebResourceRequest>>
) -> Result<Option<Local<'env, WebResourceResponse>>, Local<'env, Throwable>>
[src]

shouldInterceptRequest

Required features: "android-webkit-WebResourceRequest", "android-webkit-WebResourceResponse", "android-webkit-WebView"

pub fn onTooManyRedirects<'env>(
    &'env self,
    arg0: impl Into<Option<&'env WebView>>,
    arg1: impl Into<Option<&'env Message>>,
    arg2: impl Into<Option<&'env Message>>
) -> Result<(), Local<'env, Throwable>>
[src]

Deprecated

onTooManyRedirects

Required features: "android-os-Message", "android-webkit-WebView"

pub fn onReceivedError_WebView_int_String_String<'env>(
    &'env self,
    arg0: impl Into<Option<&'env WebView>>,
    arg1: i32,
    arg2: impl Into<Option<&'env String>>,
    arg3: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]

Deprecated

onReceivedError

Required features: "android-webkit-WebView", "java-lang-String"

pub fn onReceivedError_WebView_WebResourceRequest_WebResourceError<'env>(
    &'env self,
    arg0: impl Into<Option<&'env WebView>>,
    arg1: impl Into<Option<&'env WebResourceRequest>>,
    arg2: impl Into<Option<&'env WebResourceError>>
) -> Result<(), Local<'env, Throwable>>
[src]

onReceivedError

Required features: "android-webkit-WebResourceError", "android-webkit-WebResourceRequest", "android-webkit-WebView"

pub fn onReceivedHttpError<'env>(
    &'env self,
    arg0: impl Into<Option<&'env WebView>>,
    arg1: impl Into<Option<&'env WebResourceRequest>>,
    arg2: impl Into<Option<&'env WebResourceResponse>>
) -> Result<(), Local<'env, Throwable>>
[src]

onReceivedHttpError

Required features: "android-webkit-WebResourceRequest", "android-webkit-WebResourceResponse", "android-webkit-WebView"

pub fn onFormResubmission<'env>(
    &'env self,
    arg0: impl Into<Option<&'env WebView>>,
    arg1: impl Into<Option<&'env Message>>,
    arg2: impl Into<Option<&'env Message>>
) -> Result<(), Local<'env, Throwable>>
[src]

onFormResubmission

Required features: "android-os-Message", "android-webkit-WebView"

pub fn doUpdateVisitedHistory<'env>(
    &'env self,
    arg0: impl Into<Option<&'env WebView>>,
    arg1: impl Into<Option<&'env String>>,
    arg2: bool
) -> Result<(), Local<'env, Throwable>>
[src]

doUpdateVisitedHistory

Required features: "android-webkit-WebView", "java-lang-String"

pub fn onReceivedSslError<'env>(
    &'env self,
    arg0: impl Into<Option<&'env WebView>>,
    arg1: impl Into<Option<&'env SslErrorHandler>>,
    arg2: impl Into<Option<&'env SslError>>
) -> Result<(), Local<'env, Throwable>>
[src]

onReceivedSslError

Required features: "android-net-http-SslError", "android-webkit-SslErrorHandler", "android-webkit-WebView"

pub fn onReceivedClientCertRequest<'env>(
    &'env self,
    arg0: impl Into<Option<&'env WebView>>,
    arg1: impl Into<Option<&'env ClientCertRequest>>
) -> Result<(), Local<'env, Throwable>>
[src]

onReceivedClientCertRequest

Required features: "android-webkit-ClientCertRequest", "android-webkit-WebView"

pub fn onReceivedHttpAuthRequest<'env>(
    &'env self,
    arg0: impl Into<Option<&'env WebView>>,
    arg1: impl Into<Option<&'env HttpAuthHandler>>,
    arg2: impl Into<Option<&'env String>>,
    arg3: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]

onReceivedHttpAuthRequest

Required features: "android-webkit-HttpAuthHandler", "android-webkit-WebView", "java-lang-String"

pub fn shouldOverrideKeyEvent<'env>(
    &'env self,
    arg0: impl Into<Option<&'env WebView>>,
    arg1: impl Into<Option<&'env KeyEvent>>
) -> Result<bool, Local<'env, Throwable>>
[src]

shouldOverrideKeyEvent

Required features: "android-view-KeyEvent", "android-webkit-WebView"

pub fn onUnhandledKeyEvent<'env>(
    &'env self,
    arg0: impl Into<Option<&'env WebView>>,
    arg1: impl Into<Option<&'env KeyEvent>>
) -> Result<(), Local<'env, Throwable>>
[src]

onUnhandledKeyEvent

Required features: "android-view-KeyEvent", "android-webkit-WebView"

pub fn onScaleChanged<'env>(
    &'env self,
    arg0: impl Into<Option<&'env WebView>>,
    arg1: f32,
    arg2: f32
) -> Result<(), Local<'env, Throwable>>
[src]

onScaleChanged

Required features: "android-webkit-WebView"

pub fn onReceivedLoginRequest<'env>(
    &'env self,
    arg0: impl Into<Option<&'env WebView>>,
    arg1: impl Into<Option<&'env String>>,
    arg2: impl Into<Option<&'env String>>,
    arg3: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]

onReceivedLoginRequest

Required features: "android-webkit-WebView", "java-lang-String"

pub fn onRenderProcessGone<'env>(
    &'env self,
    arg0: impl Into<Option<&'env WebView>>,
    arg1: impl Into<Option<&'env RenderProcessGoneDetail>>
) -> Result<bool, Local<'env, Throwable>>
[src]

onRenderProcessGone

Required features: "android-webkit-RenderProcessGoneDetail", "android-webkit-WebView"

pub fn onSafeBrowsingHit<'env>(
    &'env self,
    arg0: impl Into<Option<&'env WebView>>,
    arg1: impl Into<Option<&'env WebResourceRequest>>,
    arg2: i32,
    arg3: impl Into<Option<&'env SafeBrowsingResponse>>
) -> Result<(), Local<'env, Throwable>>
[src]

onSafeBrowsingHit

Required features: "android-webkit-SafeBrowsingResponse", "android-webkit-WebResourceRequest", "android-webkit-WebView"

pub const ERROR_AUTHENTICATION: i32[src]

public static final ERROR_AUTHENTICATION

pub const ERROR_BAD_URL: i32[src]

public static final ERROR_BAD_URL

pub const ERROR_CONNECT: i32[src]

public static final ERROR_CONNECT

pub const ERROR_FAILED_SSL_HANDSHAKE: i32[src]

public static final ERROR_FAILED_SSL_HANDSHAKE

pub const ERROR_FILE: i32[src]

public static final ERROR_FILE

pub const ERROR_FILE_NOT_FOUND: i32[src]

public static final ERROR_FILE_NOT_FOUND

pub const ERROR_HOST_LOOKUP: i32[src]

public static final ERROR_HOST_LOOKUP

pub const ERROR_IO: i32[src]

public static final ERROR_IO

pub const ERROR_PROXY_AUTHENTICATION: i32[src]

public static final ERROR_PROXY_AUTHENTICATION

pub const ERROR_REDIRECT_LOOP: i32[src]

public static final ERROR_REDIRECT_LOOP

pub const ERROR_TIMEOUT: i32[src]

public static final ERROR_TIMEOUT

pub const ERROR_TOO_MANY_REQUESTS: i32[src]

public static final ERROR_TOO_MANY_REQUESTS

pub const ERROR_UNKNOWN: i32[src]

public static final ERROR_UNKNOWN

pub const ERROR_UNSAFE_RESOURCE: i32[src]

public static final ERROR_UNSAFE_RESOURCE

pub const ERROR_UNSUPPORTED_AUTH_SCHEME: i32[src]

public static final ERROR_UNSUPPORTED_AUTH_SCHEME

pub const ERROR_UNSUPPORTED_SCHEME: i32[src]

public static final ERROR_UNSUPPORTED_SCHEME

pub const SAFE_BROWSING_THREAT_MALWARE: i32[src]

public static final SAFE_BROWSING_THREAT_MALWARE

pub const SAFE_BROWSING_THREAT_PHISHING: i32[src]

public static final SAFE_BROWSING_THREAT_PHISHING

pub const SAFE_BROWSING_THREAT_UNKNOWN: i32[src]

public static final SAFE_BROWSING_THREAT_UNKNOWN

pub const SAFE_BROWSING_THREAT_UNWANTED_SOFTWARE: i32[src]

Methods from Deref<Target = Object>

pub fn getClass<'env>(
    &'env self
) -> Result<Option<Local<'env, Class>>, Local<'env, Throwable>>
[src]

getClass

Required features: "java-lang-Class"

pub fn hashCode<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>[src]

pub fn equals<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Object>>
) -> Result<bool, Local<'env, Throwable>>
[src]

equals

Required features: "java-lang-Object"

pub fn toString<'env>(
    &'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

toString

Required features: "java-lang-String"

pub fn notify<'env>(&'env self) -> Result<(), Local<'env, Throwable>>[src]

pub fn notifyAll<'env>(&'env self) -> Result<(), Local<'env, Throwable>>[src]

pub fn wait_long<'env>(
    &'env self,
    arg0: i64
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn wait_long_int<'env>(
    &'env self,
    arg0: i64,
    arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn wait<'env>(&'env self) -> Result<(), Local<'env, Throwable>>[src]

Trait Implementations

impl AsJValue for WebViewClient

impl AsValidJObjectAndEnv for WebViewClient

impl Deref for WebViewClient

type Target = Object

The resulting type after dereferencing.

impl JniType for WebViewClient

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.