What triggers (or generates) KeyEvent.ACTION_MULTIPLE?

前端 未结 2 652
北海茫月
北海茫月 2021-02-13 23:47

The documentation for KeyEvent.ACTION_MULTIPLE says:

\"multiple duplicate key events have occurred in a row, or a complex string is being delivered. If

2条回答
  •  南笙
    南笙 (楼主)
    2021-02-14 00:02

    I'm not sure, but I would think that ACTION_MULTIPLE would probably be triggered by actual buttons on a blutooth keyboard for instance. I think that the reason you're just getting ACTION_UP and ACTION_DOWN is because those are the pre-defined KeyEvents for your headset controls. I hope this helps. :)

提交回复
热议问题