Sdílet prostřednictvím


WebSettings.SetEnableSmoothTransition(Boolean) Method

Definition

Caution

deprecated

Sets whether the WebView will enable smooth transition while panning or zooming or while the window hosting the WebView does not have focus.

[Android.Runtime.Register("setEnableSmoothTransition", "(Z)V", "GetSetEnableSmoothTransition_ZHandler")]
[System.Obsolete("deprecated")]
public abstract void SetEnableSmoothTransition (bool enable);
[<Android.Runtime.Register("setEnableSmoothTransition", "(Z)V", "GetSetEnableSmoothTransition_ZHandler")>]
[<System.Obsolete("deprecated")>]
abstract member SetEnableSmoothTransition : bool -> unit

Parameters

enable
Boolean
Attributes

Remarks

Sets whether the WebView will enable smooth transition while panning or zooming or while the window hosting the WebView does not have focus. If it is true, WebView will choose a solution to maximize the performance. e.g. the WebView's content may not be updated during the transition. If it is false, WebView will keep its fidelity. The default value is false.

This member is deprecated. This method is now obsolete, and will become a no-op in future.

Java documentation for android.webkit.WebSettings.setEnableSmoothTransition(boolean).

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