public interface MediaControllerKeyDispatcher
| Modifier and Type | Method and Description |
|---|---|
boolean |
dispatchKeyEvent(android.view.KeyEvent event)
Dispatch the key event received by the
BrightcoveMediaController. |
static boolean |
isDirectionalPadKeyCode(int keyCode)
Returns true when the key code is one of the following:
-
KeyEvent.KEYCODE_DPAD_UP
- KeyEvent.KEYCODE_DPAD_DOWN
- KeyEvent.KEYCODE_DPAD_CENTER
- KeyEvent.KEYCODE_DPAD_RIGHT
- KeyEvent.KEYCODE_DPAD_LEFT
or false otherwise. |
boolean dispatchKeyEvent(android.view.KeyEvent event)
BrightcoveMediaController.event - the Key EventView.dispatchKeyEvent(KeyEvent)static boolean isDirectionalPadKeyCode(int keyCode)
KeyEvent.KEYCODE_DPAD_UP
- KeyEvent.KEYCODE_DPAD_DOWN
- KeyEvent.KEYCODE_DPAD_CENTER
- KeyEvent.KEYCODE_DPAD_RIGHT
- KeyEvent.KEYCODE_DPAD_LEFT
or false otherwise.keyCode - the KeyEvent key code