onButtonPressed

abstract fun onButtonPressed()

Callback triggered when receiving an ACTION_DOWN event. if your Bluetooth device contain only one hardware button, you must use this method to trigger the PRESS event.