startDragging

open fun startDragging(browser: CefBrowser, dragData: CefDragData, mask: Int, x: Int, y: Int): Boolean

Called when the user starts dragging content in the web view. Contextual information about the dragged content is supplied by dragData. OS APIs that run a system message loop may be used within the StartDragging call. Return false to abort the drag operation. Don't call any of CefBrowser-dragSource*Ended* methods after returning false. Return true to handle the drag operation. Call CefBrowser.dragSourceEndedAt and CefBrowser.ragSourceSystemDragEnded either synchronously or asynchronously to inform the web view that the drag operation has ended.

Return

false to abort the drag operation or true to handle the drag operation.

Parameters

browser

The browser generating the event.

dragData

Contextual information about the dragged content

mask

Describes the allowed operation (none, move, copy, link).

x

Coordinate within CefBrowser

y

Coordinate within CefBrowser