selectionWriteDone

fun selectionWriteDone(sessionHandle: DBusPath, serial: UInt32, success: Boolean): Result<Unit>(source)

Notifies that a clipboard transfer initiated by selectionWrite has completed or failed. Must be called for every observeSelectionTransfer event, even on failure.

May only be called after clipboard access was granted by starting the session.

Return

Result indicating success or failure.

Parameters

sessionHandle

Object path for the session.

serial

The serial from the Clipboard.SelectionTransfer signal being answered.

success

Whether the clipboard data transfer completed successfully.