class EmojiKeyListener implements android.text.method.KeyListener {

    @Override
    public boolean onKeyDown(View view, Editable content, int keyCode, KeyEvent event) {
        final boolean result = EmojiCompat.handleOnKeyDown(content, keyCode, event);
        return result || mKeyListener.onKeyDown(view, content, keyCode, event);
    }

      EmojiKeyListener(android.text.method.KeyListener keyListener);

}