observeSelectionOwnerChanged

Returns a Flow that emits whenever the clipboard selection changes. The emitted signal's Clipboard.SelectionOwnerChanged.getOptions map contains OPTION_MIME_TYPES (as) and RESULT_SESSION_IS_OWNER (b) keys.

Only emits events for the given session. Clipboard access must have been granted by starting the session before events are delivered.

Return

Flow of selection owner changed signals.

Parameters

sessionHandle

Object path for the session to observe.