共用方式為


WebView.DocumentHasImages(Message) Method

Definition

Queries the document to see if it contains any image references.

[Android.Runtime.Register("documentHasImages", "(Landroid/os/Message;)V", "GetDocumentHasImages_Landroid_os_Message_Handler")]
public virtual void DocumentHasImages (Android.OS.Message response);
[<Android.Runtime.Register("documentHasImages", "(Landroid/os/Message;)V", "GetDocumentHasImages_Landroid_os_Message_Handler")>]
abstract member DocumentHasImages : Android.OS.Message -> unit
override this.DocumentHasImages : Android.OS.Message -> unit

Parameters

response
Message

the message that will be dispatched with the result

Attributes

Remarks

Queries the document to see if it contains any image references. The message object will be dispatched with arg1 being set to 1 if images were found and 0 if the document does not reference any images.

Java documentation for android.webkit.WebView.documentHasImages(android.os.Message).

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