<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def long_press_keycode(self, keycode, metastate=None):
 """Sends a long press of keycode to the device. Android only. See `press keycode` for more details. """

        driver = self._current_application()
        driver.long_press_keycode(int(keycode), metastate)