[−]Struct jni_android_sys::android::webkit::WebView
public class WebView
Required feature: "android-webkit-WebView"
Methods
impl WebView
pub fn new_Context<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>
) -> Result<Local<'env, WebView>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>
) -> Result<Local<'env, WebView>, Local<'env, Throwable>>
Required features: "android-content-Context"
pub fn new_Context_AttributeSet<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: impl Into<Option<&'env AttributeSet>>
) -> Result<Local<'env, WebView>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: impl Into<Option<&'env AttributeSet>>
) -> Result<Local<'env, WebView>, Local<'env, Throwable>>
Required features: "android-content-Context", "android-util-AttributeSet"
pub fn new_Context_AttributeSet_int<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: impl Into<Option<&'env AttributeSet>>,
arg2: i32
) -> Result<Local<'env, WebView>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: impl Into<Option<&'env AttributeSet>>,
arg2: i32
) -> Result<Local<'env, WebView>, Local<'env, Throwable>>
Required features: "android-content-Context", "android-util-AttributeSet"
pub fn new_Context_AttributeSet_int_int<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: impl Into<Option<&'env AttributeSet>>,
arg2: i32,
arg3: i32
) -> Result<Local<'env, WebView>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: impl Into<Option<&'env AttributeSet>>,
arg2: i32,
arg3: i32
) -> Result<Local<'env, WebView>, Local<'env, Throwable>>
Required features: "android-content-Context", "android-util-AttributeSet"
pub fn new_Context_AttributeSet_int_boolean<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: impl Into<Option<&'env AttributeSet>>,
arg2: i32,
arg3: bool
) -> Result<Local<'env, WebView>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: impl Into<Option<&'env AttributeSet>>,
arg2: i32,
arg3: bool
) -> Result<Local<'env, WebView>, Local<'env, Throwable>>
Required features: "android-content-Context", "android-util-AttributeSet"
pub fn setHorizontalScrollbarOverlay<'env>(
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
pub fn setVerticalScrollbarOverlay<'env>(
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
pub fn overlayHorizontalScrollbar<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn overlayVerticalScrollbar<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn getCertificate<'env>(
&'env self
) -> Result<Option<Local<'env, SslCertificate>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, SslCertificate>>, Local<'env, Throwable>>
Required features: "android-net-http-SslCertificate"
pub fn setCertificate<'env>(
&'env self,
arg0: impl Into<Option<&'env SslCertificate>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env SslCertificate>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-net-http-SslCertificate"
pub fn savePassword<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn setHttpAuthUsernamePassword<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
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 String>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env String>>,
arg3: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn getHttpAuthUsernamePassword<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, ObjectArray<String, Throwable>>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, ObjectArray<String, Throwable>>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn destroy<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn setNetworkAvailable<'env>(
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
pub fn saveState<'env>(
&'env self,
arg0: impl Into<Option<&'env Bundle>>
) -> Result<Option<Local<'env, WebBackForwardList>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Bundle>>
) -> Result<Option<Local<'env, WebBackForwardList>>, Local<'env, Throwable>>
Required features: "android-os-Bundle", "android-webkit-WebBackForwardList"
pub fn restoreState<'env>(
&'env self,
arg0: impl Into<Option<&'env Bundle>>
) -> Result<Option<Local<'env, WebBackForwardList>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Bundle>>
) -> Result<Option<Local<'env, WebBackForwardList>>, Local<'env, Throwable>>
Required features: "android-os-Bundle", "android-webkit-WebBackForwardList"
pub fn loadUrl_String_Map<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env Map>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env Map>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-String", "java-util-Map"
pub fn loadUrl_String<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn postUrl<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env ByteArray>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env ByteArray>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn loadData<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn loadDataWithBaseURL<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env String>>,
arg3: impl Into<Option<&'env String>>,
arg4: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env String>>,
arg3: impl Into<Option<&'env String>>,
arg4: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn evaluateJavascript<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env ValueCallback>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env ValueCallback>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-webkit-ValueCallback", "java-lang-String"
pub fn saveWebArchive_String<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn saveWebArchive_String_boolean_ValueCallback<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: bool,
arg2: impl Into<Option<&'env ValueCallback>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: bool,
arg2: impl Into<Option<&'env ValueCallback>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-webkit-ValueCallback", "java-lang-String"
pub fn stopLoading<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn reload<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn canGoBack<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>
[src]
pub fn goBack<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn canGoForward<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>
[src]
pub fn goForward<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn canGoBackOrForward<'env>(
&'env self,
arg0: i32
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<bool, Local<'env, Throwable>>
pub fn goBackOrForward<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn isPrivateBrowsingEnabled<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn pageUp<'env>(
&'env self,
arg0: bool
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<bool, Local<'env, Throwable>>
pub fn pageDown<'env>(
&'env self,
arg0: bool
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<bool, Local<'env, Throwable>>
pub fn postVisualStateCallback<'env>(
&'env self,
arg0: i64,
arg1: impl Into<Option<&'env WebView_VisualStateCallback>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i64,
arg1: impl Into<Option<&'env WebView_VisualStateCallback>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-webkit-WebView_VisualStateCallback"
pub fn clearView<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn capturePicture<'env>(
&'env self
) -> Result<Option<Local<'env, Picture>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Picture>>, Local<'env, Throwable>>
Required features: "android-graphics-Picture"
pub fn createPrintDocumentAdapter<'env>(
&'env self
) -> Result<Option<Local<'env, PrintDocumentAdapter>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, PrintDocumentAdapter>>, Local<'env, Throwable>>
Required features: "android-print-PrintDocumentAdapter"
pub fn createPrintDocumentAdapter_String<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, PrintDocumentAdapter>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, PrintDocumentAdapter>>, Local<'env, Throwable>>
Required features: "android-print-PrintDocumentAdapter", "java-lang-String"
pub fn getScale<'env>(&'env self) -> Result<f32, Local<'env, Throwable>>
[src]
pub fn setInitialScale<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn invokeZoomPicker<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn getHitTestResult<'env>(
&'env self
) -> Result<Option<Local<'env, WebView_HitTestResult>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, WebView_HitTestResult>>, Local<'env, Throwable>>
Required features: "android-webkit-WebView_HitTestResult"
pub fn requestFocusNodeHref<'env>(
&'env self,
arg0: impl Into<Option<&'env Message>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Message>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-os-Message"
pub fn requestImageRef<'env>(
&'env self,
arg0: impl Into<Option<&'env Message>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Message>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-os-Message"
pub fn getUrl<'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 getOriginalUrl<'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 getTitle<'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 getFavicon<'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 getProgress<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
pub fn getContentHeight<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
pub fn pauseTimers<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn resumeTimers<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn onPause<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn onResume<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn freeMemory<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn clearCache<'env>(
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
pub fn clearFormData<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn clearHistory<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn clearSslPreferences<'env>(
&'env self
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self
) -> Result<(), Local<'env, Throwable>>
pub fn clearClientCertPreferences<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Runnable>>
) -> Result<(), Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Runnable>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-Runnable"
pub fn startSafeBrowsing<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: impl Into<Option<&'env ValueCallback>>
) -> Result<(), Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: impl Into<Option<&'env ValueCallback>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-Context", "android-webkit-ValueCallback"
pub fn setSafeBrowsingWhitelist<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env List>>,
arg1: impl Into<Option<&'env ValueCallback>>
) -> Result<(), Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env List>>,
arg1: impl Into<Option<&'env ValueCallback>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-webkit-ValueCallback", "java-util-List"
pub fn getSafeBrowsingPrivacyPolicyUrl<'env>(
__jni_env: &'env Env
) -> Result<Option<Local<'env, Uri>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env
) -> Result<Option<Local<'env, Uri>>, Local<'env, Throwable>>
getSafeBrowsingPrivacyPolicyUrl
Required features: "android-net-Uri"
pub fn copyBackForwardList<'env>(
&'env self
) -> Result<Option<Local<'env, WebBackForwardList>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, WebBackForwardList>>, Local<'env, Throwable>>
Required features: "android-webkit-WebBackForwardList"
pub fn setFindListener<'env>(
&'env self,
arg0: impl Into<Option<&'env WebView_FindListener>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env WebView_FindListener>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-webkit-WebView_FindListener"
pub fn findNext<'env>(
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
pub fn findAll<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<i32, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn findAllAsync<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn showFindDialog<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: bool
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: bool
) -> Result<bool, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn findAddress<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn enableSlowWholeDocumentDraw<'env>(
__jni_env: &'env Env
) -> Result<(), Local<'env, Throwable>>
[src]
__jni_env: &'env Env
) -> Result<(), Local<'env, Throwable>>
pub fn clearMatches<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn documentHasImages<'env>(
&'env self,
arg0: impl Into<Option<&'env Message>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Message>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-os-Message"
pub fn setWebViewClient<'env>(
&'env self,
arg0: impl Into<Option<&'env WebViewClient>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env WebViewClient>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-webkit-WebViewClient"
pub fn getWebViewClient<'env>(
&'env self
) -> Result<Option<Local<'env, WebViewClient>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, WebViewClient>>, Local<'env, Throwable>>
Required features: "android-webkit-WebViewClient"
pub fn setDownloadListener<'env>(
&'env self,
arg0: impl Into<Option<&'env DownloadListener>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env DownloadListener>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-webkit-DownloadListener"
pub fn setWebChromeClient<'env>(
&'env self,
arg0: impl Into<Option<&'env WebChromeClient>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env WebChromeClient>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-webkit-WebChromeClient"
pub fn getWebChromeClient<'env>(
&'env self
) -> Result<Option<Local<'env, WebChromeClient>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, WebChromeClient>>, Local<'env, Throwable>>
Required features: "android-webkit-WebChromeClient"
pub fn setPictureListener<'env>(
&'env self,
arg0: impl Into<Option<&'env WebView_PictureListener>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env WebView_PictureListener>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-webkit-WebView_PictureListener"
pub fn addJavascriptInterface<'env>(
&'env self,
arg0: impl Into<Option<&'env Object>>,
arg1: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Object>>,
arg1: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-Object", "java-lang-String"
pub fn removeJavascriptInterface<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn createWebMessageChannel<'env>(
&'env self
) -> Result<Option<Local<'env, ObjectArray<WebMessagePort, Throwable>>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, ObjectArray<WebMessagePort, Throwable>>>, Local<'env, Throwable>>
Required features: "android-webkit-WebMessagePort"
pub fn postWebMessage<'env>(
&'env self,
arg0: impl Into<Option<&'env WebMessage>>,
arg1: impl Into<Option<&'env Uri>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env WebMessage>>,
arg1: impl Into<Option<&'env Uri>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-net-Uri", "android-webkit-WebMessage"
pub fn getSettings<'env>(
&'env self
) -> Result<Option<Local<'env, WebSettings>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, WebSettings>>, Local<'env, Throwable>>
Required features: "android-webkit-WebSettings"
pub fn setWebContentsDebuggingEnabled<'env>(
__jni_env: &'env Env,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
pub fn setDataDirectorySuffix<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn disableWebView<'env>(
__jni_env: &'env Env
) -> Result<(), Local<'env, Throwable>>
[src]
__jni_env: &'env Env
) -> Result<(), Local<'env, Throwable>>
pub fn onChildViewAdded<'env>(
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: impl Into<Option<&'env View>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: impl Into<Option<&'env View>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-view-View"
pub fn onChildViewRemoved<'env>(
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: impl Into<Option<&'env View>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: impl Into<Option<&'env View>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-view-View"
pub fn onGlobalFocusChanged<'env>(
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: impl Into<Option<&'env View>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: impl Into<Option<&'env View>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-view-View"
pub fn setMapTrackballToArrowKeys<'env>(
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
pub fn flingScroll<'env>(
&'env self,
arg0: i32,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
pub fn canZoomIn<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>
[src]
pub fn canZoomOut<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>
[src]
pub fn zoomBy<'env>(&'env self, arg0: f32) -> Result<(), Local<'env, Throwable>>
[src]
pub fn zoomIn<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>
[src]
pub fn zoomOut<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>
[src]
pub fn setRendererPriorityPolicy<'env>(
&'env self,
arg0: i32,
arg1: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: bool
) -> Result<(), Local<'env, Throwable>>
pub fn getRendererRequestedPriority<'env>(
&'env self
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self
) -> Result<i32, Local<'env, Throwable>>
pub fn getRendererPriorityWaivedWhenNotVisible<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn setTextClassifier<'env>(
&'env self,
arg0: impl Into<Option<&'env TextClassifier>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env TextClassifier>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-view-textclassifier-TextClassifier"
pub fn getTextClassifier<'env>(
&'env self
) -> Result<Option<Local<'env, TextClassifier>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, TextClassifier>>, Local<'env, Throwable>>
Required features: "android-view-textclassifier-TextClassifier"
pub fn getWebViewClassLoader<'env>(
__jni_env: &'env Env
) -> Result<Option<Local<'env, ClassLoader>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env
) -> Result<Option<Local<'env, ClassLoader>>, Local<'env, Throwable>>
Required features: "java-lang-ClassLoader"
pub fn getWebViewLooper<'env>(
&'env self
) -> Result<Option<Local<'env, Looper>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Looper>>, Local<'env, Throwable>>
Required features: "android-os-Looper"
pub fn setLayoutParams<'env>(
&'env self,
arg0: impl Into<Option<&'env ViewGroup_LayoutParams>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ViewGroup_LayoutParams>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-view-ViewGroup_LayoutParams"
pub fn setOverScrollMode<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn setScrollBarStyle<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn computeScroll<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn onHoverEvent<'env>(
&'env self,
arg0: impl Into<Option<&'env MotionEvent>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env MotionEvent>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-view-MotionEvent"
pub fn onTouchEvent<'env>(
&'env self,
arg0: impl Into<Option<&'env MotionEvent>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env MotionEvent>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-view-MotionEvent"
pub fn onGenericMotionEvent<'env>(
&'env self,
arg0: impl Into<Option<&'env MotionEvent>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env MotionEvent>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-view-MotionEvent"
pub fn onTrackballEvent<'env>(
&'env self,
arg0: impl Into<Option<&'env MotionEvent>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env MotionEvent>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-view-MotionEvent"
pub fn onKeyDown<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env KeyEvent>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env KeyEvent>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-view-KeyEvent"
pub fn onKeyUp<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env KeyEvent>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env KeyEvent>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-view-KeyEvent"
pub fn onKeyMultiple<'env>(
&'env self,
arg0: i32,
arg1: i32,
arg2: impl Into<Option<&'env KeyEvent>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: i32,
arg2: impl Into<Option<&'env KeyEvent>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-view-KeyEvent"
pub fn getAccessibilityNodeProvider<'env>(
&'env self
) -> Result<Option<Local<'env, AccessibilityNodeProvider>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, AccessibilityNodeProvider>>, Local<'env, Throwable>>
Required features: "android-view-accessibility-AccessibilityNodeProvider"
pub fn shouldDelayChildPressedState<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn getAccessibilityClassName<'env>(
&'env self
) -> Result<Option<Local<'env, CharSequence>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, CharSequence>>, Local<'env, Throwable>>
Required features: "java-lang-CharSequence"
pub fn onProvideVirtualStructure<'env>(
&'env self,
arg0: impl Into<Option<&'env ViewStructure>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ViewStructure>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-view-ViewStructure"
pub fn onProvideAutofillVirtualStructure<'env>(
&'env self,
arg0: impl Into<Option<&'env ViewStructure>>,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ViewStructure>>,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
onProvideAutofillVirtualStructure
Required features: "android-view-ViewStructure"
pub fn autofill<'env>(
&'env self,
arg0: impl Into<Option<&'env SparseArray>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env SparseArray>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-util-SparseArray"
pub fn isVisibleToUserForAutofill<'env>(
&'env self,
arg0: i32
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<bool, Local<'env, Throwable>>
pub fn performLongClick<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn onCreateInputConnection<'env>(
&'env self,
arg0: impl Into<Option<&'env EditorInfo>>
) -> Result<Option<Local<'env, InputConnection>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env EditorInfo>>
) -> Result<Option<Local<'env, InputConnection>>, Local<'env, Throwable>>
Required features: "android-view-inputmethod-EditorInfo", "android-view-inputmethod-InputConnection"
pub fn onDragEvent<'env>(
&'env self,
arg0: impl Into<Option<&'env DragEvent>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env DragEvent>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-view-DragEvent"
pub fn onWindowFocusChanged<'env>(
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
pub fn dispatchKeyEvent<'env>(
&'env self,
arg0: impl Into<Option<&'env KeyEvent>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env KeyEvent>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-view-KeyEvent"
pub fn requestFocus<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Rect>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Rect>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-graphics-Rect"
pub fn requestChildRectangleOnScreen<'env>(
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: impl Into<Option<&'env Rect>>,
arg2: bool
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: impl Into<Option<&'env Rect>>,
arg2: bool
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-graphics-Rect", "android-view-View"
pub fn setBackgroundColor<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn setLayerType<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Paint>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Paint>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-graphics-Paint"
pub fn onStartTemporaryDetach<'env>(
&'env self
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self
) -> Result<(), Local<'env, Throwable>>
pub fn onFinishTemporaryDetach<'env>(
&'env self
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self
) -> Result<(), Local<'env, Throwable>>
pub fn getHandler<'env>(
&'env self
) -> Result<Option<Local<'env, Handler>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Handler>>, Local<'env, Throwable>>
Required features: "android-os-Handler"
pub fn findFocus<'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 getCurrentWebViewPackage<'env>(
__jni_env: &'env Env
) -> Result<Option<Local<'env, PackageInfo>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env
) -> Result<Option<Local<'env, PackageInfo>>, Local<'env, Throwable>>
Required features: "android-content-pm-PackageInfo"
pub fn onCheckIsTextEditor<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub const RENDERER_PRIORITY_BOUND: i32
[src]
public static final RENDERER_PRIORITY_BOUND
pub const RENDERER_PRIORITY_IMPORTANT: i32
[src]
public static final RENDERER_PRIORITY_IMPORTANT
pub const RENDERER_PRIORITY_WAIVED: i32
[src]
public static final RENDERER_PRIORITY_WAIVED
pub const SCHEME_GEO: &'static str
[src]
public static final SCHEME_GEO
pub const SCHEME_MAILTO: &'static str
[src]
public static final SCHEME_MAILTO
pub const SCHEME_TEL: &'static str
[src]
public static final SCHEME_TEL
Methods from Deref<Target = AbsoluteLayout>
pub fn generateLayoutParams<'env>(
&'env self,
arg0: impl Into<Option<&'env AttributeSet>>
) -> Result<Option<Local<'env, ViewGroup_LayoutParams>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env AttributeSet>>
) -> Result<Option<Local<'env, ViewGroup_LayoutParams>>, Local<'env, Throwable>>
Required features: "android-util-AttributeSet", "android-view-ViewGroup_LayoutParams"
pub fn shouldDelayChildPressedState<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
Trait Implementations
impl AsJValue for WebView
impl AsRef<ViewGroup_OnHierarchyChangeListener> for WebView
fn as_ref(&self) -> &ViewGroup_OnHierarchyChangeListener
impl AsRef<ViewTreeObserver_OnGlobalFocusChangeListener> for WebView
fn as_ref(&self) -> &ViewTreeObserver_OnGlobalFocusChangeListener
impl AsValidJObjectAndEnv for WebView
impl Deref for WebView
type Target = AbsoluteLayout
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
impl JniType for WebView
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for WebView
impl !Send for WebView
impl !Sync for WebView
impl Unpin for WebView
impl UnwindSafe for WebView
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>,