[−]Struct jni_android_sys::android::webkit::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]
__jni_env: &'env Env
) -> Result<Local<'env, WebChromeClient>, Local<'env, Throwable>>
pub fn onProgressChanged<'env>(
&'env self,
arg0: impl Into<Option<&'env WebView>>,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env WebView>>,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
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]
&'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 onReceivedIcon<'env>(
&'env self,
arg0: impl Into<Option<&'env WebView>>,
arg1: impl Into<Option<&'env Bitmap>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env WebView>>,
arg1: impl Into<Option<&'env Bitmap>>
) -> Result<(), Local<'env, Throwable>>
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]
&'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 onShowCustomView_View_CustomViewCallback<'env>(
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: impl Into<Option<&'env WebChromeClient_CustomViewCallback>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: impl Into<Option<&'env WebChromeClient_CustomViewCallback>>
) -> Result<(), Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: i32,
arg2: impl Into<Option<&'env WebChromeClient_CustomViewCallback>>
) -> Result<(), Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env WebView>>,
arg1: bool,
arg2: bool,
arg3: impl Into<Option<&'env Message>>
) -> Result<bool, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env WebView>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-webkit-WebView"
pub fn onCloseWindow<'env>(
&'env self,
arg0: impl Into<Option<&'env WebView>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env WebView>>
) -> Result<(), Local<'env, Throwable>>
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]
&'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>>
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]
&'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>>
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]
&'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>>
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]
&'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>>
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]
&'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>>
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]
&'env self,
arg0: i64,
arg1: i64,
arg2: impl Into<Option<&'env WebStorage_QuotaUpdater>>
) -> Result<(), Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env GeolocationPermissions_Callback>>
) -> Result<(), Local<'env, Throwable>>
onGeolocationPermissionsShowPrompt
Required features: "android-webkit-GeolocationPermissions_Callback", "java-lang-String"
pub fn onGeolocationPermissionsHidePrompt<'env>(
&'env self
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self
) -> Result<(), Local<'env, Throwable>>
pub fn onPermissionRequest<'env>(
&'env self,
arg0: impl Into<Option<&'env PermissionRequest>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env PermissionRequest>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-webkit-PermissionRequest"
pub fn onPermissionRequestCanceled<'env>(
&'env self,
arg0: impl Into<Option<&'env PermissionRequest>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env PermissionRequest>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-webkit-PermissionRequest"
pub fn onJsTimeout<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>
[src]
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]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32,
arg2: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn onConsoleMessage_ConsoleMessage<'env>(
&'env self,
arg0: impl Into<Option<&'env ConsoleMessage>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ConsoleMessage>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-webkit-ConsoleMessage"
pub fn getDefaultVideoPoster<'env>(
&'env self
) -> Result<Option<Local<'env, Bitmap>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Bitmap>>, Local<'env, Throwable>>
Required features: "android-graphics-Bitmap"
pub fn getVideoLoadingProgressView<'env>(
&'env self
) -> Result<Option<Local<'env, View>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, View>>, Local<'env, Throwable>>
Required features: "android-view-View"
pub fn getVisitedHistory<'env>(
&'env self,
arg0: impl Into<Option<&'env ValueCallback>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ValueCallback>>
) -> Result<(), Local<'env, Throwable>>
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]
&'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>>
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]
&'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 WebChromeClient
impl AsValidJObjectAndEnv for WebChromeClient
impl Deref for WebChromeClient
impl JniType for WebChromeClient
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for WebChromeClient
impl !Send for WebChromeClient
impl !Sync for WebChromeClient
impl Unpin for WebChromeClient
impl UnwindSafe for WebChromeClient
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>,