onCreateInputConnection

@Nullable
open fun onCreateInputConnection(@NonNull outAttrs: @NonNull EditorInfo): @Nullable InputConnection

If a listener is set, the returned InputConnection will use it to handle calls to commitContent.