[−]Struct jni_android_sys::android::webkit::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]
__jni_env: &'env Env
) -> Result<Local<'env, WebViewClient>, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env WebView>>,
arg1: impl Into<Option<&'env String>>
) -> Result<bool, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env WebView>>,
arg1: impl Into<Option<&'env WebResourceRequest>>
) -> Result<bool, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env WebView>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env Bitmap>>
) -> Result<(), Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env WebView>>,
arg1: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env WebView>>,
arg1: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env WebView>>,
arg1: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env WebView>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, WebResourceResponse>>, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env WebView>>,
arg1: impl Into<Option<&'env WebResourceRequest>>
) -> Result<Option<Local<'env, WebResourceResponse>>, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env WebView>>,
arg1: impl Into<Option<&'env Message>>,
arg2: impl Into<Option<&'env Message>>
) -> Result<(), Local<'env, Throwable>>
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]
&'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>>
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]
&'env self,
arg0: impl Into<Option<&'env WebView>>,
arg1: impl Into<Option<&'env WebResourceRequest>>,
arg2: impl Into<Option<&'env WebResourceError>>
) -> Result<(), Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env WebView>>,
arg1: impl Into<Option<&'env WebResourceRequest>>,
arg2: impl Into<Option<&'env WebResourceResponse>>
) -> Result<(), Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env WebView>>,
arg1: impl Into<Option<&'env Message>>,
arg2: impl Into<Option<&'env Message>>
) -> Result<(), Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env WebView>>,
arg1: impl Into<Option<&'env String>>,
arg2: bool
) -> Result<(), Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env WebView>>,
arg1: impl Into<Option<&'env SslErrorHandler>>,
arg2: impl Into<Option<&'env SslError>>
) -> Result<(), Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env WebView>>,
arg1: impl Into<Option<&'env ClientCertRequest>>
) -> Result<(), Local<'env, Throwable>>
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]
&'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>>
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]
&'env self,
arg0: impl Into<Option<&'env WebView>>,
arg1: impl Into<Option<&'env KeyEvent>>
) -> Result<bool, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env WebView>>,
arg1: impl Into<Option<&'env KeyEvent>>
) -> Result<(), Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env WebView>>,
arg1: f32,
arg2: f32
) -> Result<(), Local<'env, Throwable>>
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]
&'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>>
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]
&'env self,
arg0: impl Into<Option<&'env WebView>>,
arg1: impl Into<Option<&'env RenderProcessGoneDetail>>
) -> Result<bool, Local<'env, Throwable>>
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]
&'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>>
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]
public static final SAFE_BROWSING_THREAT_UNWANTED_SOFTWARE
Methods from Deref<Target = Object>
pub fn getClass<'env>(
&'env self
) -> Result<Option<Local<'env, Class>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Class>>, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "java-lang-Object"
pub fn toString<'env>(
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
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]
&'env self,
arg0: i64
) -> Result<(), Local<'env, Throwable>>
pub fn wait_long_int<'env>(
&'env self,
arg0: i64,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i64,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
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
impl JniType for WebViewClient
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for WebViewClient
impl !Send for WebViewClient
impl !Sync for WebViewClient
impl Unpin for WebViewClient
impl UnwindSafe for WebViewClient
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,