Code example for InputConnection

Methods: beginBatchEdit, commitText, endBatchEdit