observe Selection Owner Changed
fun observeSelectionOwnerChanged(sessionHandle: DBusPath): Flow<Clipboard.SelectionOwnerChanged>(source)
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
session Handle
Object path for the session to observe.