I looked into the official documentation but there was only a single line telling me that it's a wrapper class for proxying calls to another input connection. I didn't understand what it said.
I want to know :
- what actually is InputConnectionWrapperand what does it do ?
- what is sendKeyEvent(Keyevent keyevent)[one of it's method to override] ?
 
                        
InputConnectionWrapperclass is a helper class or a class built usingInputConnectionclass. Where the use ofInputConnectionclass isWhich means that we can read/perform operations from an input view from different scenario's. For example:
getTextAfterCursormethod helps to obtain the text after the cursor.sendKeyEventmethod is to send a key event to the input view, like backpress, return etc.