[]Struct jni_android_sys::android::webkit::WebChromeClient

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

public class WebChromeClient

Required feature: "android-webkit-WebChromeClient"

Methods

impl WebChromeClient

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

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

onProgressChanged

Required features: "android-webkit-WebView"

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

onReceivedTitle

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

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

onReceivedIcon

Required features: "android-graphics-Bitmap", "android-webkit-WebView"

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

onReceivedTouchIconUrl

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

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

onShowCustomView

Required features: "android-view-View", "android-webkit-WebChromeClient_CustomViewCallback"

pub fn onShowCustomView_View_int_CustomViewCallback<'env>(
    &'env self,
    arg0: impl Into<Option<&'env View>>,
    arg1: i32,
    arg2: impl Into<Option<&'env WebChromeClient_CustomViewCallback>>
) -> Result<(), Local<'env, Throwable>>
[src]

Deprecated

onShowCustomView

Required features: "android-view-View", "android-webkit-WebChromeClient_CustomViewCallback"

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

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

onCreateWindow

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

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

onRequestFocus

Required features: "android-webkit-WebView"

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

onCloseWindow

Required features: "android-webkit-WebView"

pub fn onJsAlert<'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 JsResult>>
) -> Result<bool, Local<'env, Throwable>>
[src]

onJsAlert

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

pub fn onJsConfirm<'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 JsResult>>
) -> Result<bool, Local<'env, Throwable>>
[src]

onJsConfirm

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

pub fn onJsPrompt<'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>>,
    arg4: impl Into<Option<&'env JsPromptResult>>
) -> Result<bool, Local<'env, Throwable>>
[src]

onJsPrompt

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

pub fn onJsBeforeUnload<'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 JsResult>>
) -> Result<bool, Local<'env, Throwable>>
[src]

onJsBeforeUnload

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

pub fn onExceededDatabaseQuota<'env>(
    &'env self,
    arg0: impl Into<Option<&'env String>>,
    arg1: impl Into<Option<&'env String>>,
    arg2: i64,
    arg3: i64,
    arg4: i64,
    arg5: impl Into<Option<&'env WebStorage_QuotaUpdater>>
) -> Result<(), Local<'env, Throwable>>
[src]

Deprecated

onExceededDatabaseQuota

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

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

Deprecated

onReachedMaxAppCacheSize

Required features: "android-webkit-WebStorage_QuotaUpdater"

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

onGeolocationPermissionsShowPrompt

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

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

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

onPermissionRequest

Required features: "android-webkit-PermissionRequest"

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

onPermissionRequestCanceled

Required features: "android-webkit-PermissionRequest"

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

Deprecated

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

Deprecated

onConsoleMessage

Required features: "java-lang-String"

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

onConsoleMessage

Required features: "android-webkit-ConsoleMessage"

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

getDefaultVideoPoster

Required features: "android-graphics-Bitmap"

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

getVideoLoadingProgressView

Required features: "android-view-View"

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

getVisitedHistory

Required features: "android-webkit-ValueCallback"

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

onShowFileChooser

Required features: "android-webkit-ValueCallback", "android-webkit-WebChromeClient_FileChooserParams", "android-webkit-WebView"

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 WebChromeClient

impl AsValidJObjectAndEnv for WebChromeClient

impl Deref for WebChromeClient

type Target = Object

The resulting type after dereferencing.

impl JniType for WebChromeClient

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.