Share via


WebView.RestorePicture(Bundle, File) Method

Definition

Caution

deprecated

Restores the display data that was saved in #savePicture.

[Android.Runtime.Register("restorePicture", "(Landroid/os/Bundle;Ljava/io/File;)Z", "GetRestorePicture_Landroid_os_Bundle_Ljava_io_File_Handler")]
[System.Obsolete("deprecated")]
public virtual bool RestorePicture (Android.OS.Bundle? b, Java.IO.File? src);
[<Android.Runtime.Register("restorePicture", "(Landroid/os/Bundle;Ljava/io/File;)Z", "GetRestorePicture_Landroid_os_Bundle_Ljava_io_File_Handler")>]
[<System.Obsolete("deprecated")>]
abstract member RestorePicture : Android.OS.Bundle * Java.IO.File -> bool
override this.RestorePicture : Android.OS.Bundle * Java.IO.File -> bool

Parameters

b
Bundle

a Bundle containing the saved display data

src
File

the file where the picture data was stored

Returns

true if the picture was successfully restored

Attributes

Remarks

Restores the display data that was saved in #savePicture. Used in conjunction with #restoreState. Note that this will not work if this WebView is hardware accelerated.

This member is deprecated. This method is now obsolete.

Java documentation for android.webkit.WebView.restorePicture(android.os.Bundle, java.io.File).

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