WebViewClient.OnScaleChanged(WebView, Single, Single) Method

Definition

Notify the host application that the scale applied to the WebView has changed.

[Android.Runtime.Register("onScaleChanged", "(Landroid/webkit/WebView;FF)V", "GetOnScaleChanged_Landroid_webkit_WebView_FFHandler")]
public virtual void OnScaleChanged (Android.Webkit.WebView? view, float oldScale, float newScale);
[<Android.Runtime.Register("onScaleChanged", "(Landroid/webkit/WebView;FF)V", "GetOnScaleChanged_Landroid_webkit_WebView_FFHandler")>]
abstract member OnScaleChanged : Android.Webkit.WebView * single * single -> unit
override this.OnScaleChanged : Android.Webkit.WebView * single * single -> unit

Parameters

view
WebView

The WebView that is initiating the callback.

oldScale
Single

The old scale factor

newScale
Single

The new scale factor

Attributes

Remarks

Notify the host application that the scale applied to the WebView has changed.

Java documentation for android.webkit.WebViewClient.onScaleChanged(android.webkit.WebView, float, float).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to