What's your use case? There are situations where this is ambiguous/invisible from the app's perspective, for example Gboard will offer contents from the clipboard as suggestions to the user, and if chosen the text comes from the soft keyboard code path